mesa: add support for glUniformHandleui64*ARB()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 24 Feb 2017 18:24:56 +0000 (19:24 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 14 Jun 2017 08:04:36 +0000 (10:04 +0200)
commit326a82a255c1a72376ce2b7f3d878bfff5cb9621
tree0e915868eecb94a8435ed619ab212272a6c2f7b4
parentafb141156f09e7f2f22b88eeefe8e0800c26c1d6
mesa: add support for glUniformHandleui64*ARB()

Bindless sampler/image handles are represented using 64-bit
unsigned integers.

The ARB_bindless_texture spec says:

   "The error INVALID_OPERATION is generated by UniformHandleui64{v}ARB
   if the sampler or image uniform being updated has the "bound_sampler"
   or "bound_image" layout qualifier"."

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/compiler/glsl/ir_uniform.h
src/compiler/glsl/link_uniforms.cpp
src/compiler/glsl/shader_cache.cpp
src/mesa/main/uniform_query.cpp
src/mesa/main/uniforms.c
src/mesa/main/uniforms.h