OSDN Git Service

i965: Set the alternative floating point mode on gen6 VS and WM.
authorEric Anholt <eric@anholt.net>
Wed, 15 Dec 2010 23:15:02 +0000 (15:15 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 16 Dec 2010 17:01:14 +0000 (09:01 -0800)
commitc52adfc2e1d130effea940e75690897eb5d3ceaa
tree61793fa0a31fdd43733f8ac9ced21b57d7bbebe6
parent2bd11ea11921bcd180b354342a8786c5b7ddd6b3
i965: Set the alternative floating point mode on gen6 VS and WM.

This matches how we did the math instructions pre-gen6, though it
applies to non-math as well.

Fixes vp1-LIT test 2 (degenerate case: 0 ^ 0 -> 1)
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/gen6_vs_state.c
src/mesa/drivers/dri/i965/gen6_wm_state.c