Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: ac45a24e64e7049b9fc1e19b7221d074f30f2d49 https://github.com/WebKit/WebKit/commit/ac45a24e64e7049b9fc1e19b7221d074f30f2d49 Author: Tadeu Zagallo <tzaga...@apple.com> Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths: M Source/WebGPU/WGSL/AST/ASTTypeName.h M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp M Source/WebGPU/WGSL/TypeStore.cpp M Source/WebGPU/WGSL/TypeStore.h M Source/WebGPU/WGSL/Types.cpp M Source/WebGPU/WGSL/Types.h Log Message: ----------- [WGSL] Add support for textures https://bugs.webkit.org/show_bug.cgi?id=254278 <rdar://problem/107067119> Reviewed by Mike Wyrzykowski. Still needs the functions that use textures to make it useful, but this patch adds support for textures in the parser, type checker and code generator. * Source/WebGPU/WGSL/AST/ASTTypeName.h: (WGSL::AST::ParameterizedTypeName::stringViewToKind): * Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp: (WGSL::Metal::FunctionDefinitionWriter::visit): * Source/WebGPU/WGSL/TypeStore.cpp: (WGSL::TextureKey::extra const): (WGSL::TypeStore::TypeStore): (WGSL::TypeStore::textureType): * Source/WebGPU/WGSL/TypeStore.h: * Source/WebGPU/WGSL/Types.cpp: (WGSL::Type::dump const): * Source/WebGPU/WGSL/Types.h: Canonical link: https://commits.webkit.org/262063@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes