OSDN Git Service

i965: Avoid explicit accumulator operands in SIMD16 mode on Gen7.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 30 Mar 2012 20:58:06 +0000 (13:58 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 30 Mar 2012 21:27:54 +0000 (14:27 -0700)
commit01044fce6b3de11635ea5078b76ffee1a33b3802
tree7c237b2a3d4e7a5f876339d18cf1edb38f93bc06
parent99a192ce7d8690f44a1f23a432607b6ce5031942
i965: Avoid explicit accumulator operands in SIMD16 mode on Gen7.

According to the BSpec ISA volume's "Accumulator Register" section:

"[DevIVB] SIMD16 execution on dwords is not allowed when accumulator is
 explicit source or destination operand."

Fixes piglit tests:
- fs-multiply-const-ivec4
- fs-multiply-const-uvec4
- fs-multiply-ivec4-const
- fs-multiply-uvec4-const

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp