mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-21 11:26:56 +02:00
gpu: store large compute shared memory in device buffers
This commit is contained in:
@@ -199,6 +199,7 @@ enum class StageInputKind {
|
||||
BaryCoordSmoothCentroid,
|
||||
BaryCoordNoPerspective,
|
||||
WorkgroupId,
|
||||
NumWorkgroups,
|
||||
LocalInvocationId,
|
||||
LocalInvocationIndex,
|
||||
GlobalInvocationId,
|
||||
@@ -301,11 +302,12 @@ enum class DescriptorBindingKind : uint32_t {
|
||||
FaultBuffer,
|
||||
FlattenedSrt,
|
||||
ShaderData,
|
||||
SharedMemory,
|
||||
Count,
|
||||
};
|
||||
|
||||
static_assert(static_cast<uint32_t>(DescriptorBindingKind::Samplers) == 49u);
|
||||
static_assert(static_cast<uint32_t>(DescriptorBindingKind::Count) == 55u);
|
||||
static_assert(static_cast<uint32_t>(DescriptorBindingKind::Count) == 56u);
|
||||
|
||||
struct PushData {
|
||||
static constexpr uint32_t DwordCount = 32;
|
||||
|
||||
Reference in New Issue
Block a user