Re: [Mesa-dev] [PATCH] i965/fs: Remove force_sechalf stack.

2013-01-07 Thread Eric Anholt
Kenneth Graunke writes: > Only Gen4 color write setup uses the force_sechalf flag, and it only > sets it on a single instruction. It also already has to get a pointer > to the instruction and manually set the saturate flag, so we may as well > just set force_sechalf the same way and avoid the co

Re: [Mesa-dev] [PATCH] i965/fs: Remove force_sechalf stack.

2013-01-02 Thread Ian Romanick
On 01/01/2013 03:12 PM, Kenneth Graunke wrote: Only Gen4 color write setup uses the force_sechalf flag, and it only sets it on a single instruction. It also already has to get a pointer to the instruction and manually set the saturate flag, so we may as well just set force_sechalf the same way a

Re: [Mesa-dev] [PATCH] i965/fs: Remove force_sechalf stack.

2013-01-02 Thread Paul Berry
On 1 January 2013 15:12, Kenneth Graunke wrote: > Only Gen4 color write setup uses the force_sechalf flag, and it only > sets it on a single instruction. It also already has to get a pointer > to the instruction and manually set the saturate flag, so we may as well > just set force_sechalf the s

[Mesa-dev] [PATCH] i965/fs: Remove force_sechalf stack.

2013-01-01 Thread Kenneth Graunke
Only Gen4 color write setup uses the force_sechalf flag, and it only sets it on a single instruction. It also already has to get a pointer to the instruction and manually set the saturate flag, so we may as well just set force_sechalf the same way and avoid the complexity of a stack. --- src/mesa