enough fixes so that it compiles
This commit is contained in:
+8
-3
@@ -1,5 +1,5 @@
|
|||||||
#![feature(variant_count)]
|
#![feature(variant_count)]
|
||||||
#![feature(array_chunks)]
|
#![feature(iter_array_chunks)]
|
||||||
#![feature(portable_simd)]
|
#![feature(portable_simd)]
|
||||||
#![feature(mpmc_channel)]
|
#![feature(mpmc_channel)]
|
||||||
|
|
||||||
@@ -386,6 +386,7 @@ impl App {
|
|||||||
maintenance4: true,
|
maintenance4: true,
|
||||||
fill_mode_non_solid: true,
|
fill_mode_non_solid: true,
|
||||||
shader_draw_parameters: true,
|
shader_draw_parameters: true,
|
||||||
|
shader_demote_to_helper_invocation: true,
|
||||||
..DeviceFeatures::empty()
|
..DeviceFeatures::empty()
|
||||||
},
|
},
|
||||||
..Default::default()
|
..Default::default()
|
||||||
@@ -483,7 +484,9 @@ impl App {
|
|||||||
|
|
||||||
let trace_spv_code = include_bytes!("trace.recompiled.spv");
|
let trace_spv_code = include_bytes!("trace.recompiled.spv");
|
||||||
let trace_spv_code_u32 = trace_spv_code
|
let trace_spv_code_u32 = trace_spv_code
|
||||||
.array_chunks::<4>()
|
.as_chunks::<4>()
|
||||||
|
.0
|
||||||
|
.into_iter()
|
||||||
.map(|u| u32::from_le_bytes(*u))
|
.map(|u| u32::from_le_bytes(*u))
|
||||||
.collect::<Vec<_>>();
|
.collect::<Vec<_>>();
|
||||||
let mut loader = rspirv::dr::Loader::new();
|
let mut loader = rspirv::dr::Loader::new();
|
||||||
@@ -492,7 +495,9 @@ impl App {
|
|||||||
|
|
||||||
let normals_spv_code = include_bytes!("normals.recompiled.spv");
|
let normals_spv_code = include_bytes!("normals.recompiled.spv");
|
||||||
let normals_spv_code_u32 = normals_spv_code
|
let normals_spv_code_u32 = normals_spv_code
|
||||||
.array_chunks::<4>()
|
.as_chunks::<4>()
|
||||||
|
.0
|
||||||
|
.into_iter()
|
||||||
.map(|u| u32::from_le_bytes(*u))
|
.map(|u| u32::from_le_bytes(*u))
|
||||||
.collect::<Vec<_>>();
|
.collect::<Vec<_>>();
|
||||||
let mut loader = rspirv::dr::Loader::new();
|
let mut loader = rspirv::dr::Loader::new();
|
||||||
|
|||||||
Reference in New Issue
Block a user