[webkit-changes] [WebKit/WebKit] 6d89ee: [WGSL] shader, execution, expression, call, builtin, ex...
Tadeu Zagallo
noreply at github.com
Thu Jan 11 00:28:09 PST 2024
- Previous message (by thread): [webkit-changes] [WebKit/WebKit] 4d4013: [WGSL] shader, execution, expression, call, builtin, bi...
- Next message (by thread): [webkit-changes] [WebKit/WebKit] 979e0f: [WGSL] shader, execution, expression, call, builtin, ld...
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6d89eecb9b64ec244aeb840661fb8ad1ae5f1fb7
https://github.com/WebKit/WebKit/commit/6d89eecb9b64ec244aeb840661fb8ad1ae5f1fb7
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2024-01-11 (Thu, 11 Jan 2024)
Changed paths:
M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
M Source/WebGPU/WGSL/TypeCheck.cpp
M Source/WebGPU/WGSL/WGSLShaderModule.h
Log Message:
-----------
[WGSL] shader,execution,expression,call,builtin,extractBits:* is failing
https://bugs.webkit.org/show_bug.cgi?id=267337
rdar://120783982
Reviewed by Mike Wyrzykowski.
The runtime version of extractBits was failing because we directly generated
calls to Metal's extract_bits. Intead we need small wrapper function in order
to clamp the offset and count.
* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::FunctionDefinitionWriter::emitNecessaryHelpers):
(WGSL::Metal::FunctionDefinitionWriter::visit):
* Source/WebGPU/WGSL/TypeCheck.cpp:
(WGSL::TypeChecker::visit):
* Source/WebGPU/WGSL/WGSLShaderModule.h:
(WGSL::ShaderModule::usesExtractBits const):
(WGSL::ShaderModule::setUsesExtractBits):
Canonical link: https://commits.webkit.org/272897@main
- Previous message (by thread): [webkit-changes] [WebKit/WebKit] 4d4013: [WGSL] shader, execution, expression, call, builtin, bi...
- Next message (by thread): [webkit-changes] [WebKit/WebKit] 979e0f: [WGSL] shader, execution, expression, call, builtin, ld...
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the webkit-changes
mailing list