[Webkit-unassigned] [Bug 199916] New: [WHLSL] Some shader semantics are the wrong type

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 18 14:19:17 PDT 2019


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

            Bug ID: 199916
           Summary: [WHLSL] Some shader semantics are the wrong type
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGPU
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: justin_fan at apple.com

In HLSL, SV_GroupThreadID, SV_DispatchThreadID, and SV_GroupID are uint3 vectors, but in WHLSL they are float3.

https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-semantics

WHLSL makes no sense here. It's not possible to have a non-integer thread index. The Metal equivalents generated by our compiler are also uint3.

-- 
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/20190718/b71d1c62/attachment.html>


More information about the webkit-unassigned mailing list