summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/udivmod64.h
Commit message (Collapse)AuthorAgeFilesLines
* glsl: Add "built-in" function for 64-bit integer sign()Ian Romanick2017-01-201-0/+206
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 macros beginning with __ are reserved for use by the implementation... hey, that's us! Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Matt Turner <[email protected]>