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. |
||
---|---|---|
.. | ||
combined-texture-sampler-shadow.vk.frag | ||
combined-texture-sampler.vk.frag | ||
demote-to-helper-forwarding.asm.vk.nocompat.frag | ||
demote-to-helper.vk.nocompat.frag | ||
desktop-mediump.vk.frag | ||
input-attachment-ms.vk.frag | ||
input-attachment.vk.frag | ||
nonuniform-qualifier.vk.nocompat.frag | ||
push-constant-as-ubo.push-ubo.vk.frag | ||
push-constant.vk.frag | ||
scalar-block-layout-ubo-std430.vk.nocompat.invalid.frag | ||
separate-combined-fake-overload.vk.frag | ||
separate-sampler-texture-array.vk.frag | ||
separate-sampler-texture.vk.frag | ||
shader-arithmetic-8bit.nocompat.vk.frag | ||
spec-constant-block-size.vk.frag | ||
spec-constant-ternary.vk.frag |