mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
VideoBackends: support multiple compute images for some backends (D3D, OGL, Vulkan)
This commit is contained in:
@ -49,9 +49,9 @@ enum DESCRIPTOR_SET_LAYOUT
|
||||
// - 1 texel buffer (accessible from PS) [set=1, binding=8]
|
||||
// - Compute
|
||||
// - 1 uniform buffer [set=0, binding=0]
|
||||
// - 2 combined image samplers [set=0, binding=1-2]
|
||||
// - 2 texel buffers [set=0, binding=3-4]
|
||||
// - 1 storage image [set=0, binding=5]
|
||||
// - 8 combined image samplers [set=0, binding=1-8]
|
||||
// - 2 texel buffers [set=0, binding=9-10]
|
||||
// - 8 storage image [set=0, binding=11-18]
|
||||
//
|
||||
// All four pipeline layout share the first two descriptor sets (uniform buffers, PS samplers).
|
||||
// The third descriptor set (see bind points above) is used for storage or texel buffers.
|
||||
@ -78,7 +78,6 @@ enum UNIFORM_BUFFER_DESCRIPTOR_SET_BINDING
|
||||
constexpr u32 MAX_VERTEX_ATTRIBUTES = 16;
|
||||
|
||||
// Number of pixel shader texture slots
|
||||
constexpr u32 NUM_COMPUTE_SHADER_SAMPLERS = 2;
|
||||
constexpr u32 NUM_UTILITY_PIXEL_SAMPLERS = 8;
|
||||
|
||||
// Number of texel buffer binding points.
|
||||
|
Reference in New Issue
Block a user