summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_shader.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_shader.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_shader.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/ilo/ilo_shader.c b/src/gallium/drivers/ilo/ilo_shader.c
index 9f21b00047c..0798ccc8186 100644
--- a/src/gallium/drivers/ilo/ilo_shader.c
+++ b/src/gallium/drivers/ilo/ilo_shader.c
@@ -842,8 +842,7 @@ ilo_shader_select_kernel_routing(struct ilo_shader_state *shader,
int dst_len, dst_slot;
/* we are constructing 3DSTATE_SBE here */
- assert(ilo_dev_gen(shader->info.dev) >= ILO_GEN(6) &&
- ilo_dev_gen(shader->info.dev) <= ILO_GEN(7.5));
+ ILO_DEV_ASSERT(shader->info.dev, 6, 8);
assert(kernel);