From: Kenneth Graunke Date: Sat, 10 Nov 2018 00:56:29 +0000 (-0800) Subject: iris: don't forget to upload CS consts X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ddbc1025e7e370f9487bc0585f081bcb4f08f57;p=mesa.git iris: don't forget to upload CS consts --- diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index 0ab9df0e297..b1ed0077893 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -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);