From 2b43b45af9a68fb2607539b1596c619b68f1d4cc Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Fri, 4 Jun 2021 18:27:56 +0000 Subject: [PATCH] Increase kMaxStorageBuffers/Textures to 8 Bug: None Change-Id: I154393d9cf3a2101e5740383a8367d498a6d3f03 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/53380 Commit-Queue: Austin Eng Auto-Submit: Corentin Wallez Reviewed-by: Austin Eng --- src/common/Constants.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/Constants.h b/src/common/Constants.h index f92c6b7f04..3afb7681be 100644 --- a/src/common/Constants.h +++ b/src/common/Constants.h @@ -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