Re: [Piglit] [PATCH] shaders: Verify that -int(some_bool) & value is handled correctly

2018-12-18 Thread Jason Ekstrand
On Tue, Dec 18, 2018 at 3:56 PM Ian Romanick wrote: > From: Ian Romanick > > This reproduces bug #109075. In that bug, '-int(XYZ) & anything' was > optimized as though it were '-int(XYZ) & floatBitsToInt(1.0)'. > > Signed-off-by: Ian Romanick > Bugzilla: https://bugs.freedesktop.org/show_bug.c

[Piglit] [PATCH] shaders: Verify that -int(some_bool) & value is handled correctly

2018-12-18 Thread Ian Romanick
From: Ian Romanick This reproduces bug #109075. In that bug, '-int(XYZ) & anything' was optimized as though it were '-int(XYZ) & floatBitsToInt(1.0)'. Signed-off-by: Ian Romanick Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109075 --- ...glsl-fs-bitwise-and-Boolean-and-1.0.shader_te