summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-10-25 18:15:35 +0200
committerMarek Olšák <[email protected]>2017-10-26 00:43:31 +0200
commitb85cd69415f24ff4653e39f82dcd309363f65c59 (patch)
tree95da5938def8c243348e8110b757175cdffef92f /src/mesa
parent61a9ef4ab1759100e7658b1cba4127277c7c66bf (diff)
glsl_to_tgsi: remove unused glsl_version variable
trivial
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_glsl_to_tgsi.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index a45f0047a8a..aa225df63d6 100644
--- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@ -186,7 +186,6 @@ public:
bool indirect_addr_consts;
int wpos_transform_const;
- int glsl_version;
bool native_integers;
bool have_sqrt;
bool have_fma;
@@ -4415,7 +4414,6 @@ glsl_to_tgsi_visitor::glsl_to_tgsi_visitor()
images_used = 0;
indirect_addr_consts = false;
wpos_transform_const = -1;
- glsl_version = 0;
native_integers = false;
mem_ctx = ralloc_context(NULL);
ctx = NULL;
@@ -6615,7 +6613,6 @@ get_mesa_program_tgsi(struct gl_context *ctx,
v->shader_program = shader_program;
v->shader = shader;
v->options = options;
- v->glsl_version = ctx->Const.GLSLVersion;
v->native_integers = ctx->Const.NativeIntegers;
v->have_sqrt = pscreen->get_shader_param(pscreen, ptarget,