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

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89670
Reviewed-by: Matt Turner <mattst88@gmail.com>
Cc: Vinson Lee <vlee@freedesktop.org>
This commit is contained in:
Ian Romanick 2015-03-19 16:44:14 -07:00
parent ccb9cbc849
commit a04b520890
1 changed files with 3 additions and 3 deletions

View File

@ -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 =