[Webkit-unassigned] [Bug 200461] New: [WHLSL] We should generate identical metal code for the same WHLSL program
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 5 18:08:25 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=200461
Bug ID: 200461
Summary: [WHLSL] We should generate identical metal code for
the same WHLSL program
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: sbarati at apple.com
CC: dino at apple.com, fpizlo at apple.com, jonlee at apple.com,
justin_fan at apple.com, mmaxfield at apple.com,
rmorisset at apple.com, sam at webkit.org
Metal process caches shaders (with what appears to be text equality). Therefore, we should always generate the same Metal program for the same WHLSL shader.
Currently, we don't do this for a few reasons, often because we rely on pointer hash tables and their iteration order. E.g, I know of at least:
- We emit struct fields in different order
- I think we do the same for enum
- I think we might do the same for functions
--
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/20190806/60d57cd9/attachment-0001.html>
More information about the webkit-unassigned
mailing list