From f9c5e277acc48e6a0e461e7f202898f5fdab77c0 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 14 Nov 2018 16:52:26 -0600 Subject: [PATCH] iris: Don't set constant read lengths at upload time They're set in derived_data as part of store_cs_state --- src/gallium/drivers/iris/iris_state.c | 3 --- 1 file changed, 3 deletions(-) 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++) -- 2.30.2