WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
198985
[WHLSL] Hook up RWTextures
https://bugs.webkit.org/show_bug.cgi?id=198985
Summary
[WHLSL] Hook up RWTextures
Myles C. Maxfield
Reported
2019-06-18 17:05:03 PDT
Hooking them up is tricky because writable textures don't have either default constructors or copy assignment operators in High Sierra. Therefore, we can probably model RWTextures under the "logical mode" restrictions.
Attachments
Test
(6.79 KB, text/html)
2019-06-18 17:33 PDT
,
Myles C. Maxfield
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Myles C. Maxfield
Comment 1
2019-06-18 17:33:05 PDT
Created
attachment 372411
[details]
Test
Myles C. Maxfield
Comment 2
2019-06-20 12:49:07 PDT
Turns out writable textures aren’t supported in argument buffers.
https://developer.apple.com/documentation/metal/buffers/about_argument_buffers?language=objc
We probably need a hybrid approach where some resources are put in argument buffers and some are attached directly.
Myles C. Maxfield
Comment 3
2019-06-24 15:14:32 PDT
Also, MSL doesn't support putting RWTextures in tier 1 hardware, meaning we'll have to demote them to regular arguments.
Myles C. Maxfield
Comment 4
2020-05-05 00:42:38 PDT
WHLSL is no longer relevant.
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