[Webkit-unassigned] [Bug 261890] New: [WebGPU] fragmentWriteGBuffers.wgsl does not compile

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 21 10:33:21 PDT 2023


            Bug ID: 261890
           Summary: [WebGPU] fragmentWriteGBuffers.wgsl does not compile
           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

fragmentWriteGBuffers.wgsl from https://webgpu.github.io/webgpu-samples/samples/deferredRendering#fragmentWriteGBuffers.wgsl does not compile because it writes to multiple render targets and the locations are not specified.

I.e., in the generated output:

struct type0 {
    vec<float, 4> normal ;
    vec<float, 4> albedo ;

should be:

struct type0 {
    vec<float, 4> normal [[color(0)]];
    vec<float, 4> albedo [[color(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/20230921/ffe7e616/attachment.htm>

More information about the webkit-unassigned mailing list