gallium/softpipe/llvmpipe: handle query_renderer caps
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 14 Aug 2014 20:15:06 +0000 (21:15 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 15 Aug 2014 16:42:47 +0000 (17:42 +0100)
commit89f80c2185de42191a1658dbdcbce9cbd9a98058
treebb95e159651b0592d4525e85be61f4d4aeb0f96e
parent3a6b68b1132675dbb0c63cc6d977e19e4f473bd1
gallium/softpipe/llvmpipe: handle query_renderer caps

Both report 0xffffffff as both vendor and device id, and the maximum
amount of system memory as video memory.

v2: Use aux helper os_get_total_physical_memory().

Cc: Brian Paul <brianp@vmware.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/drivers/llvmpipe/lp_screen.c
src/gallium/drivers/softpipe/sp_screen.c