no insanely oversized descriptor sets
This commit is contained in:
parent
409fd653c7
commit
e67577d903
|
@ -1865,12 +1865,7 @@ impl EguiState {
|
|||
sizes: &[
|
||||
vk::DescriptorPoolSize {
|
||||
ty: vk::DescriptorType::COMBINED_IMAGE_SAMPLER,
|
||||
descriptor_count: device
|
||||
.physical_device()
|
||||
.properties
|
||||
.base
|
||||
.limits
|
||||
.max_descriptor_set_sampled_images,
|
||||
descriptor_count: 10,
|
||||
},
|
||||
vk::DescriptorPoolSize {
|
||||
ty: vk::DescriptorType::STORAGE_BUFFER,
|
||||
|
@ -1889,12 +1884,7 @@ impl EguiState {
|
|||
bindings: &[
|
||||
pipeline::DescriptorSetLayoutBindingDesc {
|
||||
binding: Self::TEXTURE_BINDING,
|
||||
count: device
|
||||
.physical_device()
|
||||
.properties
|
||||
.base
|
||||
.limits
|
||||
.max_descriptor_set_sampled_images,
|
||||
count: 10,
|
||||
kind: vk::DescriptorType::COMBINED_IMAGE_SAMPLER,
|
||||
stage: vk::ShaderStageFlags::FRAGMENT,
|
||||
flags: Some(
|
||||
|
|
Loading…
Reference in a new issue