From 7fb8c20d7bef5df4a194aaa5385e1efc80c83270 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Thu, 18 Oct 2018 20:04:33 -0700 Subject: [PATCH] iris: drop unnecessary #ifdefs --- src/gallium/drivers/iris/iris_state.c | 2 -- 1 file changed, 2 deletions(-) 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++) -- 2.30.2