iris: don't forget to upload CS consts

This commit is contained in:
Kenneth Graunke
2018-11-09 16:56:29 -08:00
parent f1f84a1ae7
commit 2ddbc1025e
+3
View File
@@ -4479,6 +4479,9 @@ iris_upload_compute_state(struct iris_context *ice,
// XXX: L3 configuration not set up for SLM
assert(prog_data->total_shared == 0);
if ((dirty & IRIS_DIRTY_CONSTANTS_CS) && shs->cbuf0_needs_upload)
upload_uniforms(ice, MESA_SHADER_COMPUTE);
if (dirty & IRIS_DIRTY_BINDINGS_CS)
iris_populate_binding_table(ice, batch, MESA_SHADER_COMPUTE, false);