[Webkit-unassigned] [Bug 262135] New: [WGSL] Buffer dynamic offsets are not implemented
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 26 13:04:43 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=262135
Bug ID: 262135
Summary: [WGSL] Buffer dynamic offsets are not implemented
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebGPU
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mwyrzykowski at apple.com
[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
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230926/dbc6e333/attachment.htm>
More information about the webkit-unassigned
mailing list