From: Jason Ekstrand Date: Wed, 14 Nov 2018 22:52:26 +0000 (-0600) Subject: iris: Don't set constant read lengths at upload time X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f9c5e277acc48e6a0e461e7f202898f5fdab77c0;p=mesa.git iris: Don't set constant read lengths at upload time They're set in derived_data as part of store_cs_state --- diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index b514ba68f85..7d4ff7365ea 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -4601,9 +4601,6 @@ iris_upload_compute_state(struct iris_context *ice, iris_pack_state(GENX(INTERFACE_DESCRIPTOR_DATA), desc, idd) { idd.SamplerStatePointer = shs->sampler_table.offset; idd.BindingTablePointer = binder->bt_offset[MESA_SHADER_COMPUTE]; - idd.ConstantURBEntryReadLength = cs_prog_data->push.per_thread.regs; - idd.CrossThreadConstantDataReadLength = - cs_prog_data->push.cross_thread.regs; } for (int i = 0; i < GENX(INTERFACE_DESCRIPTOR_DATA_length); i++)