mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-05 01:42:41 +00:00
VideoBackends: support multiple compute images for some backends (D3D, OGL, Vulkan)
This commit is contained in:
parent
59cafb9303
commit
0726a0e9c8
21 changed files with 107 additions and 59 deletions
|
@ -58,8 +58,8 @@ static const char COMPUTE_SHADER_HEADER[] = R"(
|
|||
// All resources are packed into one descriptor set for compute.
|
||||
#define UBO_BINDING(packing, x) layout(packing, set = 0, binding = (x - 1))
|
||||
#define SAMPLER_BINDING(x) layout(set = 0, binding = (1 + x))
|
||||
#define TEXEL_BUFFER_BINDING(x) layout(set = 0, binding = (3 + x))
|
||||
#define IMAGE_BINDING(format, x) layout(format, set = 0, binding = (5 + x))
|
||||
#define TEXEL_BUFFER_BINDING(x) layout(set = 0, binding = (9 + x))
|
||||
#define IMAGE_BINDING(format, x) layout(format, set = 0, binding = (11 + x))
|
||||
|
||||
// hlsl to glsl function translation
|
||||
#define API_VULKAN 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue