[Webkit-unassigned] [Bug 189755] New: [WHLSL] Enum types with no zero value can’t be zero-initialized

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 19 10:22:16 PDT 2018


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

            Bug ID: 189755
           Summary: [WHLSL] Enum types with no zero value can’t be
                    zero-initialized
           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: tdenney at apple.com

See EnumType.populateDefaultValue. Consider the enum type

enum A { B = 1, C = 2 }

Currently an A value will be initialized with zero, which isn’t a valid value of the enum. We need to specify this behavior, update the interpreter, and update the compiler.

-- 
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/20180919/aaf84baf/attachment.html>


More information about the webkit-unassigned mailing list