i965/vec4: do not predicate scratch writes for BRW_OPCODE_SEL instructions
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 31 Jul 2015 12:36:30 +0000 (14:36 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Fri, 7 Aug 2015 06:12:50 +0000 (08:12 +0200)
commitf246aa6bcab57f85a143cbfe7e9de24237921249
tree4daa4e73c30c79b69a8453afa88214f4962e40a9
parent42d283a0cc928a9e3ecddf1a90f9417ef1a34392
i965/vec4: do not predicate scratch writes for BRW_OPCODE_SEL instructions

The dst is always written, in this case the predicate is only used to select
the value to write, so if we are spilling the dst we always want to write
whatever value we selected to scratch.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp