WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED MOVED
189936
[WHLSL] Metal codegen needs to correctly handle all entry point arguments
https://bugs.webkit.org/show_bug.cgi?id=189936
Summary
[WHLSL] Metal codegen needs to correctly handle all entry point arguments
Thomas Denney
Reported
2018-09-24 16:47:46 PDT
WHLSL and MSL shader parameter/return types may differ in their layout — the stage_in parameters need to be flattened into a single struct for example — so shader entry points should unpack their parameters into the expected layout and when they exit they should repack into this format.
Attachments
Add attachment
proposed patch, testcase, etc.
Myles C. Maxfield
Comment 1
2018-09-24 19:00:41 PDT
It might be easier to implement the packing/unpacking if we make a new function that represents the entry point that just does the packing/unpacking, the global struct, and the trap statement bool
Myles C. Maxfield
Comment 2
2018-10-13 14:23:10 PDT
Migrated to
https://api.github.com/repos/gpuweb/WHLSL/issues/26
Myles C. Maxfield
Comment 3
2018-10-13 14:52:17 PDT
https://github.com/gpuweb/WHLSL/issues/26
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug