diff options
author | Timothy Arceri <[email protected]> | 2016-10-20 09:55:11 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-10-26 14:29:36 +1100 |
commit | aa881e4dc06c2efbf0c993798bcee9c880a7f66f (patch) | |
tree | b9c8282b90275ea00c7093d40298dca8887a5d15 /src/compiler | |
parent | c596f47b80fab873d4509a03a427b3a2b464854f (diff) |
glsl: remove now unused InterpQualifier
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/glsl/ir_set_program_inouts.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/compiler/glsl/ir_set_program_inouts.cpp b/src/compiler/glsl/ir_set_program_inouts.cpp index f5b36df680d..baa52b18057 100644 --- a/src/compiler/glsl/ir_set_program_inouts.cpp +++ b/src/compiler/glsl/ir_set_program_inouts.cpp @@ -26,8 +26,8 @@ * * Sets the InputsRead and OutputsWritten of Mesa programs. * - * Additionally, for fragment shaders, sets the InterpQualifier array, and the - * IsCentroid and IsSample bitfields. + * Additionally, for fragment shaders, sets the IsCentroid and IsSample + * bitfields. * * Mesa programs (gl_program, not gl_shader_program) have a set of * flags indicating which varyings are read and written. Computing @@ -125,8 +125,6 @@ mark(struct gl_program *prog, ir_variable *var, int offset, int len, if (stage == MESA_SHADER_FRAGMENT) { gl_fragment_program *fprog = (gl_fragment_program *) prog; - fprog->InterpQualifier[idx] = - (glsl_interp_mode) var->data.interpolation; if (var->data.centroid) fprog->IsCentroid |= bitfield; if (var->data.sample) @@ -445,7 +443,6 @@ do_set_program_inouts(exec_list *instructions, struct gl_program *prog, prog->SystemValuesRead = 0; if (shader_stage == MESA_SHADER_FRAGMENT) { gl_fragment_program *fprog = (gl_fragment_program *) prog; - memset(fprog->InterpQualifier, 0, sizeof(fprog->InterpQualifier)); fprog->IsCentroid = 0; fprog->IsSample = 0; fprog->UsesKill = false; |