projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallium: Plumb through a way to disable GLSL const lowering
[mesa.git]
/
src
/
gallium
/
auxiliary
/
util
/
u_screen.c
diff --git
a/src/gallium/auxiliary/util/u_screen.c
b/src/gallium/auxiliary/util/u_screen.c
index 88f4945e75526318209801251d901016160fa85a..879e49d8d5bce9d6b49464dbf636557ac7743afb 100644
(file)
--- a/
src/gallium/auxiliary/util/u_screen.c
+++ b/
src/gallium/auxiliary/util/u_screen.c
@@
-296,6
+296,10
@@
u_pipe_screen_get_param_defaults(struct pipe_screen *pscreen,
*/
return 1;
+ case PIPE_CAP_PREFER_IMM_ARRAYS_AS_CONSTBUF:
+ /* Don't unset this unless your driver can do better */
+ return 1;
+
case PIPE_CAP_POST_DEPTH_COVERAGE:
case PIPE_CAP_BINDLESS_TEXTURE:
case PIPE_CAP_NIR_SAMPLERS_AS_DEREF: