Vendor dependencies for 0.3.0 release

This commit is contained in:
2025-09-27 10:29:08 -05:00
parent 0c8d39d483
commit 82ab7f317b
26803 changed files with 16134934 additions and 0 deletions

26
vendor/encase/tests/pass/attributes.rs vendored Normal file
View File

@@ -0,0 +1,26 @@
use encase::ShaderType;
fn main() {}
#[derive(ShaderType)]
struct TestAttributes {
#[align(16)]
a: u32,
#[size(8)]
b: u32,
}
#[derive(ShaderType)]
struct TestRtArray {
#[size(8)]
a: u32,
#[align(16)]
#[size(runtime)]
b: Vec<u32>,
}
#[derive(ShaderType)]
struct TestDocComment {
/// This is an unsigned integer
a: u32,
}

16
vendor/encase/tests/pass/wrappers.rs vendored Normal file
View File

@@ -0,0 +1,16 @@
use core::cell::Cell;
use encase::ShaderType;
use std::{borrow::Cow, rc::Rc, sync::Arc};
fn main() {}
#[derive(ShaderType)]
struct Test<'a> {
a: &'a u32,
b: &'a mut u32,
c: Box<u32>,
d: Cow<'a, u32>,
e: Rc<u32>,
f: Arc<u32>,
g: Cell<u32>,
}