diff --git a/src/dawn/native/ShaderModule.cpp b/src/dawn/native/ShaderModule.cpp index ebdaafd9eb..3beb34850b 100644 --- a/src/dawn/native/ShaderModule.cpp +++ b/src/dawn/native/ShaderModule.cpp @@ -589,8 +589,8 @@ namespace dawn::native { for (const auto& [bindingId, bindingInfo] : entryPoint.bindings[group]) { DAWN_TRY_CONTEXT(ValidateCompatibilityOfSingleBindingWithLayout( device, layout, entryPoint.stage, bindingId, bindingInfo), - "validating that the entry-point's declaration for [[group(%u), " - "binding(%u)]] matches %s", + "validating that the entry-point's declaration for @group(%u) " + "@binding(%u) matches %s", static_cast(group), static_cast(bindingId), layout); } diff --git a/src/dawn/native/ShaderModule.h b/src/dawn/native/ShaderModule.h index ea446840d4..1e8095ea10 100644 --- a/src/dawn/native/ShaderModule.h +++ b/src/dawn/native/ShaderModule.h @@ -166,7 +166,7 @@ namespace dawn::native { // ShaderModuleBase. struct EntryPointMetadata { // bindings[G][B] is the reflection data for the binding defined with - // [[group=G, binding=B]] in WGSL / SPIRV. + // @group(G) @binding(B) in WGSL / SPIRV. BindingInfoArray bindings; struct SamplerTexturePair {