Rust bindings and safe wrappers for citro3d
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

15 lines
344 B

use citro3d_macros::include_shader;
#[test]
fn includes_shader_static() {
static SHADER_BYTES: &[u8] = include_shader!("integration.pica");
assert_eq!(SHADER_BYTES.len() % 4, 0);
}
#[test]
fn includes_shader_const() {
const SHADER_BYTES: &[u8] = include_shader!("integration.pica");
assert_eq!(SHADER_BYTES.len() % 4, 0);
}