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
262135
[WGSL] Buffer dynamic offsets are not implemented
https://bugs.webkit.org/show_bug.cgi?id=262135
Summary
[WGSL] Buffer dynamic offsets are not implemented
Mike Wyrzykowski
Reported
2023-09-26 13:04:43 PDT
[WGSL] Buffer dynamic offsets are not implemented This offset would probably be in its own buffer because the pipeline doesn't know the value until right before draw time. So: [[vertex]] type2 function0(type3 parameter0 [[stage_in]], constant type5& parameter1 [[buffer(22)]]) { const constant type4& local0 = parameter1.uniforms; would become something like: [[vertex]] type2 function0(type3 parameter0 [[stage_in]], constant type5& parameter1 [[buffer(22)]], constant uint32_t* offsets [[buffer(23)]]) { const constant type4& local0 = *(const constant type4*)((constant char*)¶meter1.uniforms + offsets[INDEX])); where INDEX is 0,1,2... corresponding to the nth buffer in the bind group
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-09-26 13:05:02 PDT
<
rdar://problem/116073820
>
Tadeu Zagallo
Comment 2
2023-10-12 04:53:01 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/18992
EWS
Comment 3
2023-10-17 11:30:21 PDT
Committed
269418@main
(7990584a04b5): <
https://commits.webkit.org/269418@main
> Reviewed commits have been landed. Closing PR #18992 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