summaryrefslogtreecommitdiff
path: root/src/glsl/ir_set_program_inouts.cpp
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-08-06 00:21:12 -0700
committerEric Anholt <eric@anholt.net>2010-08-06 00:51:08 -0700
commit199c441239762eec86b3cb4b558aef486907a8b6 (patch)
tree093c9e046b86e9f1ff57255f24f0d638ed7892d8 /src/glsl/ir_set_program_inouts.cpp
parent8d61a23b1a1d0d4b21f0fab64f6d863a8ee3d7f1 (diff)
glsl2: Fix inlining with sampler array or struct dereferences as arguments.
Previously, we'd replace an argument of mysampler[2] with a plain reference to mysampler by using the cloning hash table. Instead, use a visitor to clone whatever complicated sampler dereference into the sampler parameter derefs in the inlined function body.
Diffstat (limited to 'src/glsl/ir_set_program_inouts.cpp')
0 files changed, 0 insertions, 0 deletions