diff options
author | Marek Olšák <marek.olsak@amd.com> | 2014-08-03 04:31:56 +0200 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2014-08-11 21:53:57 +0200 |
commit | 002211f9eea258acc253528024ee104aa1fcd90d (patch) | |
tree | de9c794cf0313358ae483a5701e167404d22b550 /src/glsl/link_varyings.cpp | |
parent | 5c69173907e72a0978af5028db336f051ce733b0 (diff) | |
download | external_mesa3d-002211f9eea258acc253528024ee104aa1fcd90d.zip external_mesa3d-002211f9eea258acc253528024ee104aa1fcd90d.tar.gz external_mesa3d-002211f9eea258acc253528024ee104aa1fcd90d.tar.bz2 |
mesa: move ShaderCompilerOptions into gl_constants
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'src/glsl/link_varyings.cpp')
-rw-r--r-- | src/glsl/link_varyings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/link_varyings.cpp b/src/glsl/link_varyings.cpp index 1438a4b..54ceae1 100644 --- a/src/glsl/link_varyings.cpp +++ b/src/glsl/link_varyings.cpp @@ -329,7 +329,7 @@ tfeedback_decl::init(struct gl_context *ctx, const void *mem_ctx, * class must behave specially to account for the fact that gl_ClipDistance * is converted from a float[8] to a vec4[2]. */ - if (ctx->ShaderCompilerOptions[MESA_SHADER_VERTEX].LowerClipDistance && + if (ctx->Const.ShaderCompilerOptions[MESA_SHADER_VERTEX].LowerClipDistance && strcmp(this->var_name, "gl_ClipDistance") == 0) { this->is_clip_distance_mesa = true; } |