In control flow, we can force LOD 0.0 to avoid undefined result when games sample with implicit LOD in non-quad uniform control flow. Behavior on different implementations is: - Helper lanes come to life and interpolate shader input. - LOD is clamped to 0.0 in divergent control flow. This hack is not safe in general, since we force 0.0 even when the control flow is quad uniform. This is the most practical solution for the problem for now. Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no> |
||
---|---|---|
.. | ||
d3d12 | ||
vkd3d | ||
vkd3d-common | ||
vkd3d-shader | ||
vkd3d-utils | ||
.gitignore | ||
meson.build |