mesa/glsl: remove unused uses_builtin_functions field
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 22 Nov 2016 06:59:41 +0000 (17:59 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Tue, 22 Nov 2016 13:17:13 +0000 (00:17 +1100)
This has been unused since 943b69cddd

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/compiler/glsl/glsl_parser_extras.cpp
src/mesa/main/ff_fragment_shader.cpp
src/mesa/main/mtypes.h

index 1f3ba2ced441459fdf43ae2b60881da72ac887a8..85a2e943ff51af27bcb6feab61047293e00de6ce 100644 (file)
@@ -1984,7 +1984,6 @@ _mesa_glsl_compile_shader(struct gl_context *ctx, struct gl_shader *shader,
    shader->InfoLog = state->info_log;
    shader->Version = state->language_version;
    shader->IsES = state->es_shader;
-   shader->info.uses_builtin_functions = state->uses_builtin_functions;
 
    /* Retain any live IR, but trash the rest. */
    reparent_ir(shader->ir, shader->ir);
index e00eac55bebd55deb627e89fa43f88a566923719..e10a93b32f91f3e6d179e0d9c3e303c9b6feb464 100644 (file)
@@ -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;
index e87005326b636e92d430d7d63927de5348a9a8c5..485f5f18f48c126b554afcc9442a8ab78f5be4f5 100644 (file)
@@ -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;