diff --git a/src/dawn_native/BindGroupLayout.cpp b/src/dawn_native/BindGroupLayout.cpp index e3f808225f..1fc4a40788 100644 --- a/src/dawn_native/BindGroupLayout.cpp +++ b/src/dawn_native/BindGroupLayout.cpp @@ -336,7 +336,7 @@ namespace dawn_native { case BindingInfoType::ExternalTexture: break; } - return false; + return a.binding < b.binding; } // This is a utility function to help ASSERT that the BGL-binding comparator places buffers