File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
/target
2
+ rustc-ice- * .txt
Original file line number Diff line number Diff line change @@ -41,27 +41,26 @@ macro_rules! match_index {
41
41
}
42
42
43
43
macro_rules! render_shader_macro {
44
- ( $num_shaders : expr , $ ( $shader_name: ident) ,* $( , ) ?) => {
44
+ ( $( $shader_name: ident) ,* $( , ) ?) => {
45
45
#[ inline( always) ]
46
46
pub fn render_shader( shader_index: u32 , shader_input: & ShaderInput , shader_output: & mut ShaderResult ) {
47
47
match_index!( shader_index; $(
48
48
$shader_name:: shader_fn( shader_input, shader_output) ,
49
49
) * )
50
50
}
51
51
52
- pub const SHADER_DEFINITIONS : [ ShaderDefinition ; $num_shaders ] = [
52
+ pub const SHADER_DEFINITIONS : & [ ShaderDefinition ] = & [
53
53
$(
54
54
$shader_name:: SHADER_DEFINITION ,
55
55
) *
56
56
] ;
57
57
} ;
58
58
}
59
59
60
- render_shader_macro ! ( 1 , loading_repeating_circles, ) ;
60
+ render_shader_macro ! ( loading_repeating_circles, ) ;
61
61
62
62
/*
63
63
render_shader_macro!(
64
- 29,
65
64
loading_repeating_circles,
66
65
two_tweets,
67
66
heart,
@@ -92,4 +91,4 @@ render_shader_macro!(
92
91
luminescence,
93
92
voxel_pac_man,
94
93
);
95
- */
94
+ */
You can’t perform that action at this time.
0 commit comments