WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
272599
[WebGPU]
https://playcanvas.github.io/#/misc/spineboy
fails because sampler is not compatible with sampler_comparison
https://bugs.webkit.org/show_bug.cgi?id=272599
Summary
[WebGPU] https://playcanvas.github.io/#/misc/spineboy fails because sampler i...
Mike Wyrzykowski
Reported
2024-04-12 12:36:05 PDT
Repro: Open
https://playcanvas.github.io/#/misc/spineboy
Place a breakpoint in GlobalVariableRewriter.cpp:1486 static bool isSampler(const AST::Variable& variable, SamplerBindingType bindingType) return bindingTypeForType(variable.storeType()) == BindingType::SamplerComparison; fails because the storeType is a Sampler and not a SamplerComparison
Attachments
Add attachment
proposed patch, testcase, etc.
Mike Wyrzykowski
Comment 1
2024-04-12 18:01:05 PDT
the sampler which fails I think is: @group(1) @binding(6) var shadowAtlasTexture_sampler : sampler; which is not used anywhere from what I can tell in the WGSL source. we are not considering the 'statically used' portion of the specification:
https://www.w3.org/TR/webgpu/#statically-used
Radar WebKit Bug Importer
Comment 2
2024-04-12 18:36:47 PDT
<
rdar://problem/126385846
>
Mike Wyrzykowski
Comment 3
2024-04-12 18:40:43 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/27211
EWS
Comment 4
2024-04-15 08:53:17 PDT
Committed
277503@main
(626da617fd7b): <
https://commits.webkit.org/277503@main
> Reviewed commits have been landed. Closing PR #27211 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug