From 4539a483552d4f57781107c50a77f01e3f24f4ce Mon Sep 17 00:00:00 2001 From: Loko Kung Date: Mon, 6 Dec 2021 23:06:09 +0000 Subject: [PATCH] Revert "Bump maxUniformBindingSize to 2^16 from 2^14" This reverts commit 1a57ee9d4e1de3ef14c3617c8e8c43c74b5384a7. Reason for revert: Swiftshader does not support 2^16 at the moment, and this is causing all Swiftshader tests to be skipped silently. Original change's description: > Bump maxUniformBindingSize to 2^16 from 2^14 > > This was upped in https://github.com/gpuweb/gpuweb/pull/2159 > > Bug: dawn:1173 > Change-Id: I98d46b9b5a339280d21ddcb2ab039ce7ebce4ec3 > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/71608 > Commit-Queue: Brandon Jones > Auto-Submit: Corentin Wallez > Reviewed-by: Brandon Jones TBR=cwallez@chromium.org,enga@chromium.org,bajones@chromium.org,bajones@google.com,dawn-scoped@luci-project-accounts.iam.gserviceaccount.com Change-Id: Ib7d6023adac3f99b8e7238035eed2a16f2ced6d0 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: dawn:1173 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/71840 Reviewed-by: Austin Eng Commit-Queue: Loko Kung --- src/dawn_native/Limits.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dawn_native/Limits.cpp b/src/dawn_native/Limits.cpp index b893e94cb7..949ce8331c 100644 --- a/src/dawn_native/Limits.cpp +++ b/src/dawn_native/Limits.cpp @@ -43,7 +43,7 @@ X(Higher, maxStorageBuffersPerShaderStage, 8, 8) \ X(Higher, maxStorageTexturesPerShaderStage, 4, 4) \ X(Higher, maxUniformBuffersPerShaderStage, 12, 12) \ - X(Higher, maxUniformBufferBindingSize, 65536, 65536) \ + X(Higher, maxUniformBufferBindingSize, 16384, 16384) \ X( Lower, minUniformBufferOffsetAlignment, 256, 256) \ X( Lower, minStorageBufferOffsetAlignment, 256, 256) \ X(Higher, maxVertexBuffers, 8, 8) \