diff options
author | Eric Anholt <eric@anholt.net> | 2010-08-06 00:21:12 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-08-06 00:51:08 -0700 |
commit | 199c441239762eec86b3cb4b558aef486907a8b6 (patch) | |
tree | 093c9e046b86e9f1ff57255f24f0d638ed7892d8 /src/mesa/program/prog_print.h | |
parent | 8d61a23b1a1d0d4b21f0fab64f6d863a8ee3d7f1 (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/mesa/program/prog_print.h')
0 files changed, 0 insertions, 0 deletions