tests: add files for issue 4579
This commit is contained in:
parent
c2f0e99d85
commit
3d8cd57c2f
15
tests/source/issue_4579.rs
Normal file
15
tests/source/issue_4579.rs
Normal file
@ -0,0 +1,15 @@
|
||||
// rustfmt-hard_tabs: true
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! main {
|
||||
() => {
|
||||
#[spirv(fragment)]
|
||||
pub fn main_fs(
|
||||
mut out_color: ::spirv_std::storage_class::Output<Vec4>,
|
||||
#[spirv(descriptor_set = 1)]iChannelResolution: ::spirv_std::storage_class::UniformConstant<
|
||||
[::spirv_std::glam::Vec3A; 4],
|
||||
>,
|
||||
) {
|
||||
}
|
||||
};
|
||||
}
|
16
tests/target/issue_4579.rs
Normal file
16
tests/target/issue_4579.rs
Normal file
@ -0,0 +1,16 @@
|
||||
// rustfmt-hard_tabs: true
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! main {
|
||||
() => {
|
||||
#[spirv(fragment)]
|
||||
pub fn main_fs(
|
||||
mut out_color: ::spirv_std::storage_class::Output<Vec4>,
|
||||
#[spirv(descriptor_set = 1)]
|
||||
iChannelResolution: ::spirv_std::storage_class::UniformConstant<
|
||||
[::spirv_std::glam::Vec3A; 4],
|
||||
>,
|
||||
) {
|
||||
}
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user