diff options
author | Eric Anholt <[email protected]> | 2012-10-03 13:23:05 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-10-17 12:24:00 -0700 |
commit | 54679fcbcae7a2d41cb439e52e386bd811a291b4 (patch) | |
tree | e0bce67791fa46e6cf751e97653c8235249ae91b /src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp | |
parent | 7abfb67dc42ec3a96443ed025807267646c56e86 (diff) |
i965: Share the predicate field between FS and VS.
Note that BRW_PREDICATE_NONE is 0 and BRW_PREDICATE_NORMAL is 1, so that's a
lot like the true/false we had in the FS before.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp b/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp index 37c8917b339..5fb3db94ecc 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp @@ -408,7 +408,7 @@ fs_visitor::spill_reg(int spill_reg) * inst->regs_written(), then we need to unspill the destination * since we write back out all of the regs_written(). */ - if (inst->predicated || inst->force_uncompressed || inst->force_sechalf) { + if (inst->predicate || inst->force_uncompressed || inst->force_sechalf) { fs_reg unspill_reg = inst->dst; for (int chan = 0; chan < inst->regs_written(); chan++) { emit_unspill(inst, unspill_reg, |