Update max storage buffer bindings per stage to 6
This is a temporary change to unblock Tensorflow.js until we expose querying and setting GPULimits. Bug: none Change-Id: Iad851b2be260e9fade7c326bc7fcde39b46cf7fd Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/25840 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
parent
1f16229c9b
commit
361a0d8334
|
@ -37,7 +37,7 @@ 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 = 4;
|
||||
static constexpr uint32_t kMaxStorageBuffersPerShaderStage = 6;
|
||||
static constexpr uint32_t kMaxStorageTexturesPerShaderStage = 4;
|
||||
static constexpr uint32_t kMaxUniformBuffersPerShaderStage = 12;
|
||||
|
||||
|
|
Loading…
Reference in New Issue