[Webkit-unassigned] [Bug 272598] New: [WebGPU] Generated dynamic offsets are incorrect in generated metal source

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 12 11:36:24 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=272598

            Bug ID: 272598
           Summary: [WebGPU] Generated dynamic offsets are incorrect in
                    generated metal source
           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

Open https://playcanvas.github.io/#/misc/spineboy

Observe the generated metal source:

    const constant __type0_Packed& global1 = (*(const constant __type0_Packed*)(((constant uint8_t*)&(__ArgumentBuffer_0.global1)) + __DynamicOffsets[0u]));
    const constant __type1_Packed& global5 = (*(const constant __type1_Packed*)(((constant uint8_t*)&(__ArgumentBuffer_1.global5)) + __DynamicOffsets[0u]));

both argument buffers are using the same offset (0), which is wrong, the first should be offset 0 and the second should be offset 1

-- 
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/20240412/570d603f/attachment.htm>


More information about the webkit-unassigned mailing list