On 11/30/2016 12:46 PM, Matt Turner wrote:
> On 11/28, Ian Romanick wrote:
>> From: Ian Romanick <ian.d.roman...@intel.com>
>>
>> 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 <ian.d.roman...@intel.com>
>> ---
>> src/compiler/glsl/builtin_functions.cpp |   4 +
>> src/compiler/glsl/builtin_functions.h   |   3 +
>> src/compiler/glsl/builtin_int64.h       |  26 ++++
>> src/compiler/glsl/glcpp/glcpp-parse.y   |   1 +
>> src/compiler/glsl/int64.glsl            |  11 ++
>> src/compiler/glsl/udivmod64.h           | 206
>> ++++++++++++++++++++++++++++++++
>> 6 files changed, 251 insertions(+)
>> create mode 100644 src/compiler/glsl/udivmod64.h
> 
> This is supposed to be in a later patch.

Blarg.  This isn't supposed to be in any patch. :( This was just junk
left in my tree.  The division and modulus routines are (correctly)
added to builtin_int64.h in patch 29.

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to