From: Jason Ekstrand Date: Fri, 28 Oct 2016 21:47:20 +0000 (-0700) Subject: i965: Fix make check after 66fcfa6894ab6 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cab3d4673922e2beb1f86f59c6aef17f55da3ac2;p=mesa.git i965: Fix make check after 66fcfa6894ab6 Commit 66fcfa6894ab6 changed the vec4 version of offset() to have 3 parameters instead of 2 but the vec4_cmod_propagation test was never updated. Signed-off-by: Jason Ekstrand --- diff --git a/src/mesa/drivers/dri/i965/test_vec4_cmod_propagation.cpp b/src/mesa/drivers/dri/i965/test_vec4_cmod_propagation.cpp index 058158e5865..7d9792b4a55 100644 --- a/src/mesa/drivers/dri/i965/test_vec4_cmod_propagation.cpp +++ b/src/mesa/drivers/dri/i965/test_vec4_cmod_propagation.cpp @@ -369,10 +369,10 @@ TEST_F(cmod_propagation_test, intervening_dest_write) src_reg src1 = src_reg(v, glsl_type::float_type); src_reg src2 = src_reg(v, glsl_type::vec2_type); src_reg zero(brw_imm_f(0.0f)); - bld.ADD(offset(dest, 2), src0, src1); + bld.ADD(offset(dest, 8, 2), src0, src1); bld.emit(SHADER_OPCODE_TEX, dest, src2) ->size_written = 4 * REG_SIZE; - bld.CMP(bld.null_reg_f(), offset(src_reg(dest), 2), zero, BRW_CONDITIONAL_GE); + bld.CMP(bld.null_reg_f(), offset(src_reg(dest), 8, 2), zero, BRW_CONDITIONAL_GE); /* = Before = *