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
/
softpipe
/
sp_screen.c
diff --git
a/src/gallium/drivers/softpipe/sp_screen.c
b/src/gallium/drivers/softpipe/sp_screen.c
index
302bebf
..
1fe807d
100644
(file)
--- a/
src/gallium/drivers/softpipe/sp_screen.c
+++ b/
src/gallium/drivers/softpipe/sp_screen.c
@@
-325,6
+325,8
@@
softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_MAX_CONSERVATIVE_RASTER_SUBPIXEL_PRECISION_BIAS:
case PIPE_CAP_PROGRAMMABLE_SAMPLE_LOCATIONS:
return 0;
+ case PIPE_CAP_MAX_GS_INVOCATIONS:
+ return 32;
case PIPE_CAP_SHADER_BUFFER_OFFSET_ALIGNMENT:
return 4;
}