Update shader validation message to reflect new @ binding syntax
Fixed: dawn:1317 Change-Id: Ib8eb4068ae9c52513945a51fe0a7a88a6e3fa43e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/83062 Reviewed-by: Brandon Jones <bajones@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
parent
4f1596134e
commit
1a73be4107
|
@ -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<uint32_t>(group), static_cast<uint32_t>(bindingId),
|
||||
layout);
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue