Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: e2b5f644393e6c9579bbb4e72f0f6b9819687978 https://github.com/WebKit/WebKit/commit/e2b5f644393e6c9579bbb4e72f0f6b9819687978 Author: Tadeu Zagallo <tzaga...@apple.com> Date: 2023-09-29 (Fri, 29 Sep 2023)
Changed paths: M Source/WebGPU/WGSL/ConstantFunctions.h M Source/WebGPU/WGSL/ConstantRewriter.cpp M Source/WebGPU/WGSL/Constraints.cpp M Source/WebGPU/WGSL/GlobalVariableRewriter.cpp M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp M Source/WebGPU/WGSL/TypeCheck.cpp M Source/WebGPU/WGSL/TypeDeclarations.rb M Source/WebGPU/WGSL/TypeStore.cpp M Source/WebGPU/WGSL/TypeStore.h M Source/WebGPU/WGSL/Types.cpp M Source/WebGPU/WGSL/Types.h M Source/WebGPU/WGSL/generator/main.rb M Source/WebGPU/WGSL/tests/valid/overload.wgsl Log Message: ----------- [WGSL] Add sampler_comparison and declarations for all texture comparison functions https://bugs.webkit.org/show_bug.cgi?id=262302 rdar://116179097 Reviewed by Mike Wyrzykowski. Add the missing the sampler_comparison type and the missing texture comparison functions that depended on it: textureGatherCompare, textureSampleCompare and textureSampleCompareLevel * Source/WebGPU/WGSL/ConstantFunctions.h: (WGSL::zeroValue): * Source/WebGPU/WGSL/ConstantRewriter.cpp: (WGSL::ConstantRewriter::materialize): * Source/WebGPU/WGSL/Constraints.cpp: (WGSL::satisfies): (WGSL::satisfyOrPromote): * Source/WebGPU/WGSL/GlobalVariableRewriter.cpp: (WGSL::bindingMemberForGlobal): (WGSL::RewriteGlobalVariables::usesOverride): * Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp: (WGSL::Metal::FunctionDefinitionWriter::emitPackedVector): (WGSL::Metal::FunctionDefinitionWriter::visit): * Source/WebGPU/WGSL/TypeCheck.cpp: (WGSL::TypeChecker::TypeChecker): * Source/WebGPU/WGSL/TypeDeclarations.rb: * Source/WebGPU/WGSL/TypeStore.cpp: (WGSL::TypeStore::TypeStore): * Source/WebGPU/WGSL/TypeStore.h: (WGSL::TypeStore::samplerComparisonType const): * Source/WebGPU/WGSL/Types.cpp: (WGSL::Type::size const): (WGSL::Type::alignment const): * Source/WebGPU/WGSL/Types.h: * Source/WebGPU/WGSL/generator/main.rb: * Source/WebGPU/WGSL/tests/valid/overload.wgsl: Canonical link: https://commits.webkit.org/268640@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes