summaryrefslogtreecommitdiff
path: root/chromium/third_party/dawn/src/dawn_native/opengl/InputStateGL.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/dawn/src/dawn_native/opengl/InputStateGL.cpp')
-rw-r--r--chromium/third_party/dawn/src/dawn_native/opengl/InputStateGL.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/dawn/src/dawn_native/opengl/InputStateGL.cpp b/chromium/third_party/dawn/src/dawn_native/opengl/InputStateGL.cpp
index 6ecaf8f4501..f9052e2d3ad 100644
--- a/chromium/third_party/dawn/src/dawn_native/opengl/InputStateGL.cpp
+++ b/chromium/third_party/dawn/src/dawn_native/opengl/InputStateGL.cpp
@@ -29,8 +29,8 @@ namespace dawn_native { namespace opengl {
auto attribute = GetAttribute(location);
glEnableVertexAttribArray(location);
- attributesUsingInput[attribute.bindingSlot][location] = true;
- auto input = GetInput(attribute.bindingSlot);
+ attributesUsingInput[attribute.inputSlot][location] = true;
+ auto input = GetInput(attribute.inputSlot);
if (input.stride == 0) {
// Emulate a stride of zero (constant vertex attribute) by