Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: f6aecdc2aadb2854a3e2e6b5bc74246589ff1f0e https://github.com/WebKit/WebKit/commit/f6aecdc2aadb2854a3e2e6b5bc74246589ff1f0e Author: Tadeu Zagallo <tzaga...@apple.com> Date: 2023-10-30 (Mon, 30 Oct 2023)
Changed paths: M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp M Source/WebGPU/WGSL/tests/valid/overload.wgsl Log Message: ----------- [WGSL] texture1d.read(coord, level): level must be zero https://bugs.webkit.org/show_bug.cgi?id=263481 rdar://117283953 Reviewed by Mike Wyrzykowski. The MSL spec requires that the level argument be a compile time constant, and that the value must be zero. Since that is the default value, we just skip serializing the argument instead. * Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp: (WGSL::Metal::emitTextureLoad): * Source/WebGPU/WGSL/tests/valid/overload.wgsl: Canonical link: https://commits.webkit.org/269931@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes