From f7e9756201bb97d845bb4a73ed71efacfbc24c87 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sun, 10 Aug 2014 20:41:42 -0700 Subject: [PATCH] i965/vec4: Drop gen <= 7 assertion in pull constant load handling. I don't see any reason for this to exist. Signed-off-by: Kenneth Graunke Reviewed-by: Chris Forbes Reviewed-by: Matt Turner --- src/mesa/drivers/dri/i965/brw_vec4_generator.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp b/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp index c56f479f005..c63b47add59 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp @@ -794,7 +794,6 @@ vec4_generator::generate_pull_constant_load(vec4_instruction *inst, struct brw_reg index, struct brw_reg offset) { - assert(brw->gen <= 7); assert(index.file == BRW_IMMEDIATE_VALUE && index.type == BRW_REGISTER_TYPE_UD); uint32_t surf_index = index.dw1.ud; -- 2.30.2