[webkit-changes] [WebKit/WebKit] a4712a: [WGSL] shader, validation, expression, access, vector:...
Tadeu Zagallo
noreply at github.com
Tue Feb 20 06:10:40 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a4712acfe708fd25162f736e45405fc334aedfcd
https://github.com/WebKit/WebKit/commit/a4712acfe708fd25162f736e45405fc334aedfcd
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2024-02-20 (Tue, 20 Feb 2024)
Changed paths:
M Source/WebGPU/WGSL/TypeCheck.cpp
Log Message:
-----------
[WGSL] shader,validation,expression,access,vector:vector:* is failing
https://bugs.webkit.org/show_bug.cgi?id=269713
rdar://123239541
Reviewed by Mike Wyrzykowski.
We were missing the out of bounds validation when only the index of an access is
constant, but not the base. If the type determines the size of the array/vector/matrix
it should still be a compilation error.
* Source/WebGPU/WGSL/TypeCheck.cpp:
(WGSL::TypeChecker::visit):
Canonical link: https://commits.webkit.org/275039@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list