Mesa (vulkan): glsl: Stop force-enabling compute shaders

Jason Ekstrand jekstrand at kemper.freedesktop.org
Mon Apr 4 20:48:57 UTC 2016


Module: Mesa
Branch: vulkan
Commit: cb317b8d074853f93b7d6965f8652bd200085d5b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb317b8d074853f93b7d6965f8652bd200085d5b

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Mon Apr  4 12:09:10 2016 -0700

glsl: Stop force-enabling compute shaders

This isn't needed since we no longer use the GLSL compiler in Vulkan.

---

 src/compiler/glsl/glsl_parser_extras.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/compiler/glsl/glsl_parser_extras.cpp b/src/compiler/glsl/glsl_parser_extras.cpp
index 2941277..3dc6874 100644
--- a/src/compiler/glsl/glsl_parser_extras.cpp
+++ b/src/compiler/glsl/glsl_parser_extras.cpp
@@ -86,8 +86,6 @@ _mesa_glsl_parse_state::_mesa_glsl_parse_state(struct gl_context *_ctx,
 
    this->extensions = &ctx->Extensions;
 
-   this->ARB_compute_shader_enable = true;
-
    this->Const.MaxLights = ctx->Const.MaxLights;
    this->Const.MaxClipPlanes = ctx->Const.MaxClipPlanes;
    this->Const.MaxTextureUnits = ctx->Const.MaxTextureUnits;




More information about the mesa-commit mailing list