Skip to content

Commit d7f785e

Browse files
committed
more test updates
1 parent c3a8b4c commit d7f785e

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
// Test creating a u128 array with zero fill.
2+
13
// build-pass
24

35
use spirv_std::spirv;
46

5-
pub fn f() -> [u128; 2] {
6-
return [0; 2];
7+
pub fn init_zero_array() -> [u128; 4] {
8+
return [0; 4];
79
}
810

911
#[spirv(fragment)]
10-
pub fn main() {}
12+
pub fn main() {
13+
// TODO: enable the following once the "unsupported constant" of type u128 is resolved:
14+
// let _ = init_zero_array();
15+
}

0 commit comments

Comments
 (0)