rust-gpu icon indicating copy to clipboard operation
rust-gpu copied to clipboard

Drop the constraint "only plain slices are supported as unsized types"

Open molikto opened this issue 2 years ago • 0 comments

basically is it possible to have


#[repr(transparent)]
pub struct Test([u32]);

#[spirv(compute(threads(8, 8)))]
pub fn entry(
    #[spirv(storage_buffer, descriptor_set = 0, binding = 0)] data: &Test,
) {
}

molikto avatar Jun 04 '22 07:06 molikto