vkd3d/libs/vkd3d-shader
Józef Kucia 2665cbe522 libs/vkd3d: Duplicate Vulkan descriptors for SRVs and UAVs.
Vulkan has different descriptor types for buffers and textures.
Therefore, we do not know the exact Vulkan descriptor type for D3D12 SRV
and UAV descriptors up front. This information can be extracted from
shaders when creating PSOs but creating incompatible Vulkan descriptor
set layouts for PSOs with the same root signature would introduce a lot
of complexity.

In order to preserve compatibility between resource bindings for PSOs
with the same root signature we duplicate Vulkan descriptors for SRVs
and UAVs (a buffer view and an image view descriptor). This strategy may
be reasonable for small root signatures.
2017-08-08 17:09:35 +02:00
..
dxbc.c libs/vkd3d-shader: Implement switch control flow instructions. 2017-08-01 10:51:45 +02:00
spirv.c libs/vkd3d: Duplicate Vulkan descriptors for SRVs and UAVs. 2017-08-08 17:09:35 +02:00
vkd3d_shader_main.c libs/vkd3d-shader: Add support for push constants. 2017-07-27 15:24:38 +02:00
vkd3d_shader_private.h libs/vkd3d-shader: Add support for push constants. 2017-07-27 15:24:38 +02:00