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