Bug 262550 - [WebGPU] Bind group layout with multiple external textures does not work
Summary: [WebGPU] Bind group layout with multiple external textures does not work
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGPU (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-10-03 08:45 PDT by Mike Wyrzykowski
Modified: 2023-10-04 11:58 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Wyrzykowski 2023-10-03 08:45:42 PDT
The bind group generation assumes bindGroupEntry.index == index in the argument buffer, but external textures take four slots in the argument buffer. So an external texture anywhere but the very end will be problematic
Comment 1 Radar WebKit Bug Importer 2023-10-03 08:46:02 PDT
<rdar://problem/116403353>
Comment 2 Mike Wyrzykowski 2023-10-03 13:29:51 PDT
Pull request: https://github.com/WebKit/WebKit/pull/18575
Comment 3 EWS 2023-10-04 11:58:09 PDT
Committed 268860@main (b43510eeb362): <https://commits.webkit.org/268860@main>

Reviewed commits have been landed. Closing PR #18575 and removing active labels.