tests: add files for issue 4579

This commit is contained in:
Caleb Cartwright 2021-09-06 17:30:16 -05:00 committed by Caleb Cartwright
parent c2f0e99d85
commit 3d8cd57c2f
2 changed files with 31 additions and 0 deletions

View 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],
>,
) {
}
};
}

View 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],
>,
) {
}
};
}