projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ef68d7
)
iris: enable push constants if we have sysvals but no uniforms
author
Kenneth Graunke
<kenneth@whitecape.org>
Fri, 9 Nov 2018 19:57:03 +0000
(11:57 -0800)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:09 +0000
(10:26 -0800)
src/gallium/drivers/iris/iris_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/iris/iris_state.c
b/src/gallium/drivers/iris/iris_state.c
index 3d78186638c11d32f0d85003720cfdf154d81c9c..0ab9df0e29724a12e1f86e8da86a1d92fbae1440 100644
(file)
--- a/
src/gallium/drivers/iris/iris_state.c
+++ b/
src/gallium/drivers/iris/iris_state.c
@@
-3239,7
+3239,7
@@
iris_store_fs_state(struct iris_context *ice,
ps.FloatingPointMode = prog_data->use_alt_mode;
ps.MaximumNumberofThreadsPerPSD = 64 - (GEN_GEN == 8 ? 2 : 1);
- ps.PushConstantEnable =
prog_data->nr_param
s > 0 ||
+ ps.PushConstantEnable =
shader->num_system_value
s > 0 ||
prog_data->ubo_ranges[0].length > 0;
/* From the documentation for this packet: