aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/program/ir_to_mesa.cpp
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-10-28 14:51:23 +0200
committermarha <marha@users.sourceforge.net>2011-10-28 14:51:23 +0200
commitd2a31932bb4eaa04572dcf646a2967c638a47144 (patch)
tree1f3acb099235f6e4f4e500030a016730f30c57a0 /mesalib/src/mesa/program/ir_to_mesa.cpp
parente9348e5fb751ebeba77e622af6d4241be8f1d51e (diff)
parent6f4feafd4d22beaabfb0202e66b0dea9047ee084 (diff)
downloadvcxsrv-d2a31932bb4eaa04572dcf646a2967c638a47144.tar.gz
vcxsrv-d2a31932bb4eaa04572dcf646a2967c638a47144.tar.bz2
vcxsrv-d2a31932bb4eaa04572dcf646a2967c638a47144.zip
Merge remote-tracking branch 'origin/released'
Diffstat (limited to 'mesalib/src/mesa/program/ir_to_mesa.cpp')
-rw-r--r--mesalib/src/mesa/program/ir_to_mesa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/mesa/program/ir_to_mesa.cpp b/mesalib/src/mesa/program/ir_to_mesa.cpp
index bdbb6b938..93563bdaa 100644
--- a/mesalib/src/mesa/program/ir_to_mesa.cpp
+++ b/mesalib/src/mesa/program/ir_to_mesa.cpp
@@ -3191,7 +3191,7 @@ get_mesa_program(struct gl_context *ctx,
prog->Instructions = mesa_instructions;
prog->NumInstructions = num_instructions;
- do_set_program_inouts(shader->ir, prog);
+ do_set_program_inouts(shader->ir, prog, shader->Type == GL_FRAGMENT_SHADER);
count_resources(prog);
check_resources(ctx, shader_program, prog);