iris: drop unnecessary #ifdefs
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 19 Oct 2018 03:04:33 +0000 (20:04 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:09 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_state.c

index 09a7bcc34de19919023afc022b80f1e7899cc481..0a1127440f166965a5e1b886540a41e39b5e201b 100644 (file)
@@ -4383,10 +4383,8 @@ iris_upload_compute_state(struct iris_context *ice,
       idd.SamplerStatePointer = shs->sampler_table.offset;
       idd.BindingTablePointer = binder->bt_offset[MESA_SHADER_COMPUTE];
       idd.ConstantURBEntryReadLength = cs_prog_data->push.per_thread.regs;
-#if GEN_GEN >= 8 || GEN_IS_HASWELL
       idd.CrossThreadConstantDataReadLength =
          cs_prog_data->push.cross_thread.regs;
-#endif
    }
 
    for (int i = 0; i < GENX(INTERFACE_DESCRIPTOR_DATA_length); i++)