From: Kenneth Graunke Date: Fri, 19 Oct 2018 03:04:33 +0000 (-0700) Subject: iris: drop unnecessary #ifdefs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7fb8c20d7bef5df4a194aaa5385e1efc80c83270;p=mesa.git iris: drop unnecessary #ifdefs --- diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index 09a7bcc34de..0a1127440f1 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -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++)