Mesa (master): i965: Fix make check after 66fcfa6894ab6
Jason Ekstrand
jekstrand at kemper.freedesktop.org
Fri Oct 28 22:20:38 UTC 2016
Module: Mesa
Branch: master
Commit: cab3d4673922e2beb1f86f59c6aef17f55da3ac2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cab3d4673922e2beb1f86f59c6aef17f55da3ac2
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date: Fri Oct 28 14:47:20 2016 -0700
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 <jason at jlekstrand.net>
---
src/mesa/drivers/dri/i965/test_vec4_cmod_propagation.cpp | 4 ++--
1 file 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 058158e..7d9792b 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 =
*
More information about the mesa-commit
mailing list