mirror of
https://github.com/KhronosGroup/SPIRV-Cross.git
synced 2024-11-15 00:11:06 +00:00
12a8654784
If this is computed *before* a `demote`, but used *after*, forwarding it will produce the wrong value. This does make for uglier shaders, but it's necessary right now to ensure correctness. I needed to use an assembly shader to produce the test for this. `spirv-opt` is not smart enough (or too smart?) to eliminate the variable that would be used in GLSL to express this. |
||
---|---|---|
.. | ||
amd | ||
asm | ||
comp | ||
desktop-only | ||
flatten | ||
frag | ||
geom | ||
legacy | ||
tesc | ||
tese | ||
vert | ||
vulkan |