Fix wacky typedef (#647)

This commit is contained in:
Ashley Hauck 2021-06-09 10:33:06 +02:00 committed by GitHub
parent 3bbe963998
commit 56722c72d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,8 +22,8 @@ pub mod __private {
pub type Image2d = crate::Image!(2D, type=f32, sampled, __crate_root=crate); pub type Image2d = crate::Image!(2D, type=f32, sampled, __crate_root=crate);
pub type Cubemap = crate::Image!(cube, type=f32, sampled, __crate_root=crate); pub type Cubemap = crate::Image!(cube, type=f32, sampled, __crate_root=crate);
pub type Image2dArray = crate::Image!(cube, type=f32, sampled, arrayed, __crate_root=crate); pub type Image2dArray = crate::Image!(2D, type=f32, sampled, arrayed, __crate_root=crate);
pub type StorageImage2d = crate::Image!(cube, type=f32, sampled=false, __crate_root=crate); pub type StorageImage2d = crate::Image!(2D, type=f32, sampled=false, __crate_root=crate);
/// An opaque image type. Corresponds to `OpTypeImage`. /// An opaque image type. Corresponds to `OpTypeImage`.
#[spirv(generic_image_type)] #[spirv(generic_image_type)]