summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-11-22 17:59:41 +1100
committerTimothy Arceri <[email protected]>2016-11-23 00:17:13 +1100
commita56a505db72b0a5ff973a489a094186d7dfcd9e7 (patch)
treefa4bfbd817cc7f1778e443b8bbd0afef16662a80 /src/mesa/main
parent38a8507f79b8da71b309654ce56854bbea1bcf94 (diff)
mesa/glsl: remove unused uses_builtin_functions field
This has been unused since 943b69cddd Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/ff_fragment_shader.cpp1
-rw-r--r--src/mesa/main/mtypes.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/ff_fragment_shader.cpp b/src/mesa/main/ff_fragment_shader.cpp
index e00eac55beb..e10a93b32f9 100644
--- a/src/mesa/main/ff_fragment_shader.cpp
+++ b/src/mesa/main/ff_fragment_shader.cpp
@@ -1258,7 +1258,6 @@ create_new_program(struct gl_context *ctx, struct state_key *key)
p.shader->CompileStatus = true;
p.shader->Version = state->language_version;
- p.shader->info.uses_builtin_functions = state->uses_builtin_functions;
p.shader_program->Shaders =
(gl_shader **)malloc(sizeof(*p.shader_program->Shaders));
p.shader_program->Shaders[0] = p.shader;
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index e87005326b6..485f5f18f48 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2172,7 +2172,6 @@ struct gl_subroutine_function
*/
struct gl_shader_info
{
- bool uses_builtin_functions;
bool uses_gl_fragcoord;
bool redeclares_gl_fragcoord;
bool ARB_fragment_coord_conventions_enable;