Increase kMaxStorageBuffers/Textures to 8

Bug: None
Change-Id: I154393d9cf3a2101e5740383a8367d498a6d3f03
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/53380
Commit-Queue: Austin Eng <enga@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
Corentin Wallez 2021-06-04 18:27:56 +00:00 committed by Dawn LUCI CQ
parent c91ffdb377
commit 2b43b45af9
1 changed files with 2 additions and 2 deletions

View File

@ -30,8 +30,8 @@ static constexpr uint64_t kMinDynamicBufferOffsetAlignment = 256u;
// Per stage limits
static constexpr uint32_t kMaxSampledTexturesPerShaderStage = 16;
static constexpr uint32_t kMaxSamplersPerShaderStage = 16;
static constexpr uint32_t kMaxStorageBuffersPerShaderStage = 6;
static constexpr uint32_t kMaxStorageTexturesPerShaderStage = 4;
static constexpr uint32_t kMaxStorageBuffersPerShaderStage = 8;
static constexpr uint32_t kMaxStorageTexturesPerShaderStage = 8;
static constexpr uint32_t kMaxUniformBuffersPerShaderStage = 12;
// Per pipeline layout limits