diff options
author | Samuel Pitoiset <[email protected]> | 2017-02-24 19:24:56 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-06-14 10:04:36 +0200 |
commit | 326a82a255c1a72376ce2b7f3d878bfff5cb9621 (patch) | |
tree | 0e915868eecb94a8435ed619ab212272a6c2f7b4 /src/mesa/main/uniforms.h | |
parent | afb141156f09e7f2f22b88eeefe8e0800c26c1d6 (diff) |
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 <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/main/uniforms.h')
-rw-r--r-- | src/mesa/main/uniforms.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/uniforms.h b/src/mesa/main/uniforms.h index 553e8717ba0..bd42b4f0360 100644 --- a/src/mesa/main/uniforms.h +++ b/src/mesa/main/uniforms.h @@ -453,6 +453,10 @@ _mesa_uniform_matrix(GLint location, GLsizei count, GLuint cols, GLuint rows, enum glsl_base_type basicType); void +_mesa_uniform_handle(GLint location, GLsizei count, const GLvoid *values, + struct gl_context *, struct gl_shader_program *); + +void _mesa_get_uniform(struct gl_context *ctx, GLuint program, GLint location, GLsizei bufSize, enum glsl_base_type returnType, GLvoid *paramsOut); |