Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 3d8cd57

Browse files
tests: add files for issue 4579
1 parent c2f0e99 commit 3d8cd57

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

tests/source/issue_4579.rs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// rustfmt-hard_tabs: true
2+
3+
#[macro_export]
4+
macro_rules! main {
5+
() => {
6+
#[spirv(fragment)]
7+
pub fn main_fs(
8+
mut out_color: ::spirv_std::storage_class::Output<Vec4>,
9+
#[spirv(descriptor_set = 1)]iChannelResolution: ::spirv_std::storage_class::UniformConstant<
10+
[::spirv_std::glam::Vec3A; 4],
11+
>,
12+
) {
13+
}
14+
};
15+
}

tests/target/issue_4579.rs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// rustfmt-hard_tabs: true
2+
3+
#[macro_export]
4+
macro_rules! main {
5+
() => {
6+
#[spirv(fragment)]
7+
pub fn main_fs(
8+
mut out_color: ::spirv_std::storage_class::Output<Vec4>,
9+
#[spirv(descriptor_set = 1)]
10+
iChannelResolution: ::spirv_std::storage_class::UniformConstant<
11+
[::spirv_std::glam::Vec3A; 4],
12+
>,
13+
) {
14+
}
15+
};
16+
}

0 commit comments

Comments
 (0)