Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 219a3d11b718f56768d5bd56b44a79cc67317bef https://github.com/WebKit/WebKit/commit/219a3d11b718f56768d5bd56b44a79cc67317bef Author: Tadeu Zagallo <tzaga...@apple.com> Date: 2023-04-19 (Wed, 19 Apr 2023)
Changed paths: M Source/WebGPU/WebGPU/ShaderModule.mm Log Message: ----------- [WebGPU] Shader module shouldn't try to read constants if there's no library https://bugs.webkit.org/show_bug.cgi?id=255599 rdar://108197471 Reviewed by Mike Wyrzykowski. We currently crash when creating a render pipeline and providing constant overrides unless the module was early compiled (which is currently disabled). This is a trivial change to check if we have a successfully compiled library before trying to read the constants from it. * Source/WebGPU/WebGPU/ShaderModule.mm: (WebGPU::ShaderModule::getNamedFunction const): Canonical link: https://commits.webkit.org/263120@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes