diff options
author | Samuel Pitoiset <[email protected]> | 2017-02-24 14:40:20 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-02-27 19:41:11 +0100 |
commit | e12f4edf9ce69ff76d4c81b1cebd6e2d4934f3c5 (patch) | |
tree | 12e4b67c77fd93e3a69d8b47612e6e63f8550086 /src/mesa/main/uniform_query.cpp | |
parent | 46562a062b77ff9f63a7599ba1396772fb53786b (diff) |
glsl: use is_image() anywhere it's possible
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/uniform_query.cpp')
-rw-r--r-- | src/mesa/main/uniform_query.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/uniform_query.cpp b/src/mesa/main/uniform_query.cpp index cb1c51fae30..010a7b24b1b 100644 --- a/src/mesa/main/uniform_query.cpp +++ b/src/mesa/main/uniform_query.cpp @@ -356,7 +356,7 @@ _mesa_get_uniform(struct gl_context *ctx, GLuint program, GLint location, (uni->type->base_type == GLSL_TYPE_INT || uni->type->base_type == GLSL_TYPE_UINT || uni->type->base_type == GLSL_TYPE_SAMPLER - || uni->type->base_type == GLSL_TYPE_IMAGE)) + || uni->type->is_image())) || ((returnType == GLSL_TYPE_UINT64 || returnType == GLSL_TYPE_INT64 ) && (uni->type->base_type == GLSL_TYPE_UINT64 || |