OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallium: add PIPE_CAP_MAX_GS_INVOCATIONS
[android-x86/external-mesa.git]
/
src
/
gallium
/
drivers
/
etnaviv
/
etnaviv_screen.c
diff --git
a/src/gallium/drivers/etnaviv/etnaviv_screen.c
b/src/gallium/drivers/etnaviv/etnaviv_screen.c
index
35707e6
..
e8bc6a5
100644
(file)
--- a/
src/gallium/drivers/etnaviv/etnaviv_screen.c
+++ b/
src/gallium/drivers/etnaviv/etnaviv_screen.c
@@
-285,6
+285,9
@@
etna_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_PROGRAMMABLE_SAMPLE_LOCATIONS:
return 0;
+ case PIPE_CAP_MAX_GS_INVOCATIONS:
+ return 32;
+
/* Stream output. */
case PIPE_CAP_MAX_STREAM_OUTPUT_BUFFERS:
case PIPE_CAP_STREAM_OUTPUT_PAUSE_RESUME: