diff options
author | Paul Berry <[email protected]> | 2014-01-07 11:23:34 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2014-01-08 07:32:01 -0800 |
commit | acfc58a7e593cdb377527c8b84e2fd9bf5906079 (patch) | |
tree | 5cbfda2ed6642c08e900c68d9c40790fe27b9ffb /src/mesa/state_tracker | |
parent | 2adb9fea77140fccb7bd3f7a547f026c050333bd (diff) |
glsl: Make more use of gl_shader_stage enum in ir_set_program_inouts.cpp.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index bd4eb5e3f20..9cb97a0352b 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -5154,7 +5154,7 @@ get_mesa_program(struct gl_context *ctx, prog->Instructions = NULL; prog->NumInstructions = 0; - do_set_program_inouts(shader->ir, prog, shader->Type); + do_set_program_inouts(shader->ir, prog, shader->Stage); count_resources(v, prog); _mesa_reference_program(ctx, &shader->Program, prog); |