[Webkit-unassigned] [Bug 265895] New: [WGSL]

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 5 12:19:40 PST 2023


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

            Bug ID: 265895
           Summary: [WGSL]
           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

The following compute shader:

              override a: u32;
              override b: u32;
              var<workgroup> vec4_data: array<vec4<f32>, a>;

              @compute @workgroup_size(1) fn main() {
                _ = vec4_data[0];

              }

generates the error:
  1 error generated while compiling the shader:
  4:45: array count must evaluate to a constant integer expression or override variable

it would seem that 'a' should be able to be used in the array declaration.

-- 
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/20231205/f2a046c3/attachment.htm>


More information about the webkit-unassigned mailing list