Skip to content
Snippets Groups Projects
Commit 42839ea5 authored by David Heidelberg's avatar David Heidelberg Committed by Emil Velikov
Browse files

st/nine: return GetAvailableTextureMem in bytes as expected (v2)


PIPE_CAP_VIDEO_MEMORY returns the amount of video memory in megabytes,
so need to converted it to bytes.

Fixed Warframe memory detection.

v2: also prepare for cards with more than 4GB memory

Cc: "10.4" <mesa-stable@lists.freedesktop.org>
Tested-by: default avatarYaroslav Andrusyak <pontostroy@gmail.com>
Reviewed-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: default avatarAxel Davy <axel.davy@ens.fr>
Signed-off-by: David Heidelberg's avatarDavid Heidelberg <david@ixit.cz>
(cherry picked from commit a99f31bc)
parent 8dc03bd5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment