File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
examples/features/src/ray_shadows Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ impl crate::framework::Example for Example {
116116
117117 fn required_limits ( ) -> wgpu:: Limits {
118118 wgpu:: Limits {
119- max_push_constant_size : 12 ,
119+ max_push_constant_size : 16 ,
120120 ..wgpu:: Limits :: default ( )
121121 }
122122 }
@@ -209,7 +209,7 @@ impl crate::framework::Example for Example {
209209 bind_group_layouts : & [ & bind_group_layout] ,
210210 push_constant_ranges : & [ wgpu:: PushConstantRange {
211211 stages : wgpu:: ShaderStages :: FRAGMENT ,
212- range : 0 ..12 ,
212+ range : 0 ..16 ,
213213 } ] ,
214214 } ) ;
215215
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ var acc_struct: acceleration_structure;
3535
3636struct PushConstants {
3737 light : vec3 <f32 >,
38+ padding : f32 ,
3839}
3940var <push_constant > pc : PushConstants ;
4041
You can’t perform that action at this time.
0 commit comments