projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de01443
)
gallium/vc4: handle query_renderer caps
author
Emil Velikov
<emil.l.velikov@gmail.com>
Thu, 14 Aug 2014 20:36:07 +0000
(21:36 +0100)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Fri, 15 Aug 2014 16:42:47 +0000
(17:42 +0100)
Cc: Eric Anholt <eric@anholt.net>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/drivers/vc4/vc4_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_screen.c
b/src/gallium/drivers/vc4/vc4_screen.c
index 7e5961392249f2f071f1421473cfca692709793d..da68f72c73b2adf61a47c8be34fd58f7f120a16b 100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_screen.c
+++ b/
src/gallium/drivers/vc4/vc4_screen.c
@@
-201,6
+201,18
@@
vc4_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT:
return 64;
+ case PIPE_CAP_VENDOR_ID:
+ return 0x14E4;
+ case PIPE_CAP_DEVICE_ID:
+ return 0xFFFFFFFF;
+ case PIPE_CAP_ACCELERATED:
+ return 1;
+ case PIPE_CAP_VIDEO_MEMORY:
+ fprintf(stderr, "FINISHME: The value returned is incorrect\n");
+ return 10;
+ case PIPE_CAP_UMA:
+ return 1;
+
default:
fprintf(stderr, "unknown param %d\n", param);
return 0;