Re: [Mesa-dev] [PATCH 27/50] glsl: Add "built-in" function for 64-bit integer sign()

2016-12-01 Thread Ian Romanick
On 11/30/2016 12:46 PM, Matt Turner wrote: > On 11/28, Ian Romanick wrote: >> From: Ian Romanick >> >> These functions are directly available in shaders. A #define is added >> to detect the presence. This allows these functions to be tested using >> piglit regardless

Re: [Mesa-dev] [PATCH 27/50] glsl: Add "built-in" function for 64-bit integer sign()

2016-11-30 Thread Matt Turner
On 11/28, Ian Romanick wrote: From: Ian Romanick These functions are directly available in shaders. A #define is added to detect the presence. This allows these functions to be tested using piglit regardless of whether the driver uses them for lowering. The GLSL

[Mesa-dev] [PATCH 27/50] glsl: Add "built-in" function for 64-bit integer sign()

2016-11-28 Thread Ian Romanick
From: Ian Romanick These functions are directly available in shaders. A #define is added to detect the presence. This allows these functions to be tested using piglit regardless of whether the driver uses them for lowering. The GLSL spec says that functions and