Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WebGPU] ShaderModule::isValid is incorrect
https://bugs.webkit.org/show_bug.cgi?id=263980 rdar://117747914 Reviewed by Mike Wyrzykowski. In 269779@main I changed ShaderModule so that m_checkedResult can also contain a compilation failure, which allowed us to report better errors. However, it's no longer correct to assume if the module is valid by verifying if the m_checkedResult is monostate, as an error would also mean the module is invalid. Instead, it should check for a successful compilation. * Source/WebGPU/WebGPU/ShaderModule.h: (WebGPU::ShaderModule::isValid const): Canonical link: https://commits.webkit.org/270016@main
- Loading branch information