Compat: maxInterStageShaderVariables = 15
This is the OpenGL ES 3.1 limit and seems to be
the limit for a large number of devices.
Change-Id: Ia8a97eeab2ece0fbf270ef72c0cf2afa879dffc2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/163360
Commit-Queue: Gregg Tavares <gman@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
diff --git a/src/dawn/native/Limits.cpp b/src/dawn/native/Limits.cpp
index d6135fb..6457744 100644
--- a/src/dawn/native/Limits.cpp
+++ b/src/dawn/native/Limits.cpp
@@ -94,7 +94,7 @@
// compat tier0 tier1
#define LIMITS_INTER_STAGE_SHADER_VARIABLES(X) \
X(Maximum, maxInterStageShaderComponents, 60, 60, 112) \
- X(Maximum, maxInterStageShaderVariables, 16, 16, 28) \
+ X(Maximum, maxInterStageShaderVariables, 15, 16, 28) \
// Tiered limits for texture dimensions.
// TODO(crbug.com/dawn/685): Define these better. For now, use two tiers where some dimensions