wip
This commit is contained in:
+2
-1
@@ -50,7 +50,8 @@ notify = "8.2"
|
|||||||
#vulkano-util = { git = "https://github.com/vulkano-rs/vulkano" }
|
#vulkano-util = { git = "https://github.com/vulkano-rs/vulkano" }
|
||||||
#egui_winit_vulkano = { git = "https://github.com/Molive-0/egui_winit_vulkano" }
|
#egui_winit_vulkano = { git = "https://github.com/Molive-0/egui_winit_vulkano" }
|
||||||
|
|
||||||
[profile.release]
|
[profile.final]
|
||||||
|
inherits = "release"
|
||||||
strip = true
|
strip = true
|
||||||
lto = true
|
lto = true
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
|
|||||||
+3
-1
@@ -74,7 +74,9 @@ impl Scene {
|
|||||||
vec![AccelerationStructureInstance {
|
vec![AccelerationStructureInstance {
|
||||||
instance_shader_binding_table_record_offset_and_flags: Packed24_8::new(
|
instance_shader_binding_table_record_offset_and_flags: Packed24_8::new(
|
||||||
0,
|
0,
|
||||||
GeometryInstanceFlags::TRIANGLE_FACING_CULL_DISABLE.into(),
|
(GeometryInstanceFlags::TRIANGLE_FACING_CULL_DISABLE
|
||||||
|
| GeometryInstanceFlags::FORCE_OPAQUE)
|
||||||
|
.into(),
|
||||||
),
|
),
|
||||||
acceleration_structure_reference: blas.device_address().into(),
|
acceleration_structure_reference: blas.device_address().into(),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
|
|||||||
Reference in New Issue
Block a user