summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-10-28 14:47:20 -0700
committerJason Ekstrand <[email protected]>2016-10-28 14:55:38 -0700
commitcab3d4673922e2beb1f86f59c6aef17f55da3ac2 (patch)
tree84073a8c874afbde13153300d339af07729028a2 /src/mesa/drivers
parente6aeeace6953a7007d98082e3f44bff40a44106d (diff)
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 <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/test_vec4_cmod_propagation.cpp4
1 files changed, 2 insertions, 2 deletions
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 =
*