WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
264140
[WGSL] error: use of undeclared identifier 'textureSampleCompareLevel' opening
https://spookyball.com/
https://bugs.webkit.org/show_bug.cgi?id=264140
Summary
[WGSL] error: use of undeclared identifier 'textureSampleCompareLevel' openin...
Mike Wyrzykowski
Reported
2023-11-02 23:13:26 PDT
Created
attachment 468465
[details]
WGSL shader source Open
https://spookyball.com/
and notice the MSL compilation error printed: program_source:377:28: error: use of undeclared identifier 'textureSampleCompareLevel' local8 = (local8 + textureSampleCompareLevel(global5, global6, clamp((local5 + (global8[local9] * local6)), local7.xy, local7.zw), (local4.z - 0.003))); it appears to come from this line in the attached wgsl shader: visibility = visibility + textureSampleCompareLevel( shadowTexture, shadowSampler, clamp(viewportPos + shadowSampleOffsets[i] * texelSize, clampRect.xy, clampRect.zw), shadowPos.z - 0.003);
Attachments
WGSL shader source
(13.34 KB, text/plain)
2023-11-02 23:13 PDT
,
Mike Wyrzykowski
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-11-02 23:13:41 PDT
<
rdar://problem/117891882
>
Tadeu Zagallo
Comment 2
2023-11-03 07:58:36 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/19951
EWS
Comment 3
2023-11-06 01:33:33 PST
Committed
270257@main
(144459dcdc40): <
https://commits.webkit.org/270257@main
> Reviewed commits have been landed. Closing PR #19951 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