vkd3d-proton/libs
Hans-Kristian Arntzen cb61a4c83a vkd3d-shader: Implement sample explicit LOD override.
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>
2021-06-17 16:42:14 +02:00
..
d3d12 d3d12: Initialize optional extensions 2021-04-21 00:48:43 +02:00
vkd3d vkd3d: Ignore BlendEnable if write mask is 0. 2021-06-17 16:42:14 +02:00
vkd3d-common vkd3d-shader: Dump RT export SPIR-V. 2021-03-12 12:20:10 +01:00
vkd3d-shader vkd3d-shader: Implement sample explicit LOD override. 2021-06-17 16:42:14 +02:00
vkd3d-utils vkd3d-utils: Fix .def version. 2021-04-22 15:30:58 +01:00
.gitignore libs/vkd3d: Trace build version. 2018-06-27 22:43:49 +02:00
meson.build meta: Add missing newlines to end of files 2020-11-05 17:16:57 +01:00