Re: [Mesa-dev] [PATCH] i965/fs: Don't mix integer/float immediates in i2b handling.

2013-01-11 Thread Eric Anholt
Kenneth Graunke writes: > The simulator gets very angry about our i2b code: > > cmp.ne(16) g3<1>D g2<0,1,0>D 0F > > We can't mix integer DWord and float types. The only reason to use 0F > here was to share code with f2b. Split it and use 0D instead. My understanding is that

Re: [Mesa-dev] [PATCH] i965/fs: Don't mix integer/float immediates in i2b handling.

2013-01-11 Thread Paul Berry
On 11 January 2013 14:19, Kenneth Graunke wrote: > The simulator gets very angry about our i2b code: > > cmp.ne(16) g3<1>D g2<0,1,0>D 0F > > We can't mix integer DWord and float types. The only reason to use 0F > here was to share code with f2b. Split it and use 0D instead. >

[Mesa-dev] [PATCH] i965/fs: Don't mix integer/float immediates in i2b handling.

2013-01-11 Thread Kenneth Graunke
The simulator gets very angry about our i2b code: cmp.ne(16) g3<1>D g2<0,1,0>D 0F We can't mix integer DWord and float types. The only reason to use 0F here was to share code with f2b. Split it and use 0D instead. --- src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 4 +++- 1