Revamped shader arch
This commit is contained in:
+3
-3
@@ -360,7 +360,7 @@ impl State
|
||||
init: voxel_cache::CacheAttributeInit::External,
|
||||
});
|
||||
|
||||
let voxel_cache = VoxelCache::<4>::new(&device, 50_000, &layout);
|
||||
let voxel_cache = VoxelCache::<4>::new(&device, 150_000, &layout);
|
||||
let request_buffer = CacheRequestBuffer::new(&device, 1024);
|
||||
let insertion_data = CacheInsertionData::new(&device, 1024, &layout);
|
||||
|
||||
@@ -467,7 +467,7 @@ impl State
|
||||
wgpu::ShaderModuleDescriptorPassthrough {
|
||||
label: wgpu::__macro_helpers::Some("../shaders/voxel.spv"),
|
||||
spirv: Some(std::borrow::Cow::Borrowed(wgpu::include_spirv_source!(
|
||||
"../shaders/voxel.spv"
|
||||
"../shaders/out/voxel.spv"
|
||||
))),
|
||||
entry_points: std::borrow::Cow::Borrowed(&[
|
||||
wgpu::PassthroughShaderEntryPoint {
|
||||
@@ -490,7 +490,7 @@ impl State
|
||||
wgpu::ShaderModuleDescriptorPassthrough {
|
||||
label: wgpu::__macro_helpers::Some("../shaders/gi.spv"),
|
||||
spirv: Some(std::borrow::Cow::Borrowed(wgpu::include_spirv_source!(
|
||||
"../shaders/gi.spv"
|
||||
"../shaders/out/gi.spv"
|
||||
))),
|
||||
entry_points: std::borrow::Cow::Borrowed(&[
|
||||
wgpu::PassthroughShaderEntryPoint {
|
||||
|
||||
Reference in New Issue
Block a user