diff options
author | Jordan Justen <[email protected]> | 2015-12-15 15:44:11 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2015-12-16 20:35:55 -0800 |
commit | a9d934726e10357a25f23595f40ef591b9365431 (patch) | |
tree | 9265ae1a152e6face9e6d813d6887fbb9b9bc443 | |
parent | 3507d0b7f98d55dab9ce359164740722ba7db6b0 (diff) |
main: Allow compute shaders to be compiled with OpenGLES 3.1
Previous OpenGLES 3.1 testing had been done when ARB_compute_shader
was overridden to enabled.
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Reviewed-by: Marta Lofstedt <[email protected]>
-rw-r--r-- | src/mesa/main/shaderapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index a732d833978..e258ad9d1db 100644 --- a/src/mesa/main/shaderapi.c +++ b/src/mesa/main/shaderapi.c @@ -208,7 +208,7 @@ _mesa_validate_shader_target(const struct gl_context *ctx, GLenum type) case GL_TESS_EVALUATION_SHADER: return ctx == NULL || _mesa_has_tessellation(ctx); case GL_COMPUTE_SHADER: - return ctx == NULL || ctx->Extensions.ARB_compute_shader; + return ctx == NULL || _mesa_has_compute_shaders(ctx); default: return false; } |