From: Kenneth Graunke Date: Mon, 11 Aug 2014 03:41:42 +0000 (-0700) Subject: i965/vec4: Drop gen <= 7 assertion in pull constant load handling. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f7e9756201bb97d845bb4a73ed71efacfbc24c87;p=mesa.git 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 --- 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;