mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 00:17:03 +00:00
tint: Implement constant expression structures
Bug: tint:1611 Change-Id: Id04c31ade297a68e7e2941efafbd812ba631fc41 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95946 Reviewed-by: Antonio Maiorano <amaiorano@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
fc85619d77
commit
6c098baedf
@@ -23,7 +23,7 @@ ivec4[4] ret_arr() {
|
||||
}
|
||||
|
||||
S ret_struct_arr() {
|
||||
S tint_symbol_2 = S(ivec4[4](ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0), ivec4(0, 0, 0, 0)));
|
||||
S tint_symbol_2 = S(ivec4[4](ivec4(0), ivec4(0), ivec4(0), ivec4(0)));
|
||||
return tint_symbol_2;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user