iris: Don't set constant read lengths at upload time
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 14 Nov 2018 22:52:26 +0000 (16:52 -0600)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:10 +0000 (10:26 -0800)
They're set in derived_data as part of store_cs_state

src/gallium/drivers/iris/iris_state.c

index b514ba68f85e47969913c3e7051e21eb6153b704..7d4ff7365ea1e30b192f025062a7690ab837c4c0 100644 (file)
@@ -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++)