i965/vs: Protect pow(x,y) MOV of y on gen4 from other instruction flags.
authorEric Anholt <eric@anholt.net>
Mon, 6 Aug 2012 22:02:34 +0000 (15:02 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 8 Aug 2012 23:21:31 +0000 (16:21 -0700)
commitb0adbda75a092a92211bb519a395494532ddb17e
treeb69e26f623519c44a7fb55b55e1cfe1aeddf2a0b
parent9b4053cabd8bda180b352d2d2047209f6ca5f6e8
i965/vs: Protect pow(x,y) MOV of y on gen4 from other instruction flags.

I don't know if it was possible to trigger this bug -- we don't merge
saturates into the math instruction because we're bad at coalescing currently,
and there's nothing generating these with predicates.  Still, let's avoid
future bugs when we do smarter codegen.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vec4_emit.cpp