summaryrefslogtreecommitdiff
path: root/tools/render-test/options.cpp
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2018-04-18 12:57:34 -0700
committerGitHub <noreply@github.com>2018-04-18 12:57:34 -0700
commit0450ca61e27dd0ee0ae744aa98426621627897a1 (patch)
tree7ada84c02543747be4739945dcda63ef9050d2e5 /tools/render-test/options.cpp
parent00389a127af8db18a3ec8fe7ad2dd114a65ac024 (diff)
Fix some logic around legalization of sampler types (#496)
The main error here was checking for `IRSamplerType` instead of `IRSamplerTypeBase`, which means the relevant logic only triggered for the `SamplerState` type and not the `SamplerComparisonState` type. The two affected places were type legalization (so that comparison samplers in `struct` types weren't being hoisted out) and the emit logic when deciding whether to introduce local temporaries (so we were emitting temporaries for comparison samplers, leading to GLSL errors).
Diffstat (limited to 'tools/render-test/options.cpp')
0 files changed, 0 insertions, 0 deletions