vkd3d/libs
Zebediah Figura d8ef0c69a8 vkd3d-shader/spirv: Do not declare resources as multisampled if the sample count is 1.
It is illegal to match a SPIR-V multisampled resource to a Vulkan resource which
is not multisampled. Vulkan considers a resource to be multisampled if its
sample count is greater than 1 (and SPIR-V does not care about the sample count).

This fixes validation errors in the case where the sample count does actually
match the resource. In order to provide correct behaviour when there is a
mismatch, or when the sample count is missing, we will need yet another
additional interface. In the absence of that it seems best to provide a best
guess.

This fixes a validation error with the not-yet-committed merge request 135, when
the d3d11 runner is run through Wine with the Vulkan backend.
2023-04-19 20:45:39 +02:00
..
vkd3d vkd3d: Support 1D SRV. 2023-04-18 22:00:17 +02:00
vkd3d-common vkd3d-common: Make some global string variables const. 2023-04-06 17:52:08 +02:00
vkd3d-shader vkd3d-shader/spirv: Do not declare resources as multisampled if the sample count is 1. 2023-04-19 20:45:39 +02:00
vkd3d-utils vkd3d-utils: Export D3D12CreateDevice() once again. 2023-04-04 22:01:04 +02:00
.gitignore libs/vkd3d: Trace build version. 2018-06-27 22:43:49 +02:00