Mesa (master): i965/fs: Use correct null destination register in cmod tests

Ian Romanick idr at kemper.freedesktop.org
Fri Mar 20 19:28:29 UTC 2015


Module: Mesa
Branch: master
Commit: a04b520890c669ce012b4b18165392dcabe0b27b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a04b520890c669ce012b4b18165392dcabe0b27b

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Mar 19 16:44:14 2015 -0700

i965/fs: Use correct null destination register in cmod tests

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89670
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Cc: Vinson Lee <vlee at freedesktop.org>

---

 src/mesa/drivers/dri/i965/test_fs_cmod_propagation.cpp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/test_fs_cmod_propagation.cpp b/src/mesa/drivers/dri/i965/test_fs_cmod_propagation.cpp
index 1ce14f8..ed8744d 100644
--- a/src/mesa/drivers/dri/i965/test_fs_cmod_propagation.cpp
+++ b/src/mesa/drivers/dri/i965/test_fs_cmod_propagation.cpp
@@ -459,7 +459,7 @@ TEST_F(cmod_propagation_test, andnz_one)
 
    v->emit(BRW_OPCODE_CMP, retype(dest, BRW_REGISTER_TYPE_F), src0, zero)
       ->conditional_mod = BRW_CONDITIONAL_L;
-   v->emit(BRW_OPCODE_AND, v->reg_null_f, dest, one)
+   v->emit(BRW_OPCODE_AND, v->reg_null_d, dest, one)
       ->conditional_mod = BRW_CONDITIONAL_NZ;
 
    /* = Before =
@@ -494,7 +494,7 @@ TEST_F(cmod_propagation_test, andnz_non_one)
 
    v->emit(BRW_OPCODE_CMP, retype(dest, BRW_REGISTER_TYPE_F), src0, zero)
       ->conditional_mod = BRW_CONDITIONAL_L;
-   v->emit(BRW_OPCODE_AND, v->reg_null_f, dest, nonone)
+   v->emit(BRW_OPCODE_AND, v->reg_null_d, dest, nonone)
       ->conditional_mod = BRW_CONDITIONAL_NZ;
 
    /* = Before =
@@ -529,7 +529,7 @@ TEST_F(cmod_propagation_test, andz_one)
 
    v->emit(BRW_OPCODE_CMP, retype(dest, BRW_REGISTER_TYPE_F), src0, zero)
       ->conditional_mod = BRW_CONDITIONAL_L;
-   v->emit(BRW_OPCODE_AND, v->reg_null_f, dest, one)
+   v->emit(BRW_OPCODE_AND, v->reg_null_d, dest, one)
       ->conditional_mod = BRW_CONDITIONAL_Z;
 
    /* = Before =




More information about the mesa-commit mailing list