Skip to content

Commit

Permalink
[WebGPU] ThreeJS video samples fail MSL compilation
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=268593
<radar://122146692>

Reviewed by Tadeu Zagallo.

ExternalTextures should have Handle AccessMode, not Uniform.

* Source/WebGPU/WGSL/GlobalVariableRewriter.cpp:
(WGSL::addressSpaceForBindingMember):

Canonical link: https://commits.webkit.org/273981@main
  • Loading branch information
mwyrzykowski committed Feb 2, 2024
1 parent 6dcf6d1 commit 375a8ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/WebGPU/WGSL/GlobalVariableRewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1251,7 +1251,7 @@ static AddressSpace addressSpaceForBindingMember(const BindGroupLayoutEntry::Bin
}, [](const StorageTextureBindingLayout&) {
return AddressSpace::Handle;
}, [](const ExternalTextureBindingLayout&) {
return AddressSpace::Uniform;
return AddressSpace::Handle;
});
}

Expand Down

0 comments on commit 375a8ba

Please sign in to comment.