mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
radv: remove radv_descriptor_set_layout::shader_stages
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30089>
This commit is contained in:
parent
bb63b7b802
commit
2c28ed7c5c
2 changed files with 0 additions and 3 deletions
|
|
@ -198,7 +198,6 @@ radv_CreateDescriptorSetLayout(VkDevice _device, const VkDescriptorSetLayoutCrea
|
|||
}
|
||||
|
||||
set_layout->binding_count = num_bindings;
|
||||
set_layout->shader_stages = 0;
|
||||
set_layout->dynamic_shader_stages = 0;
|
||||
set_layout->has_immutable_samplers = false;
|
||||
set_layout->size = 0;
|
||||
|
|
@ -358,7 +357,6 @@ radv_CreateDescriptorSetLayout(VkDevice _device, const VkDescriptorSetLayoutCrea
|
|||
set_layout->size += descriptor_count * set_layout->binding[b].size;
|
||||
buffer_count += descriptor_count * binding_buffer_count;
|
||||
dynamic_offset_count += descriptor_count * set_layout->binding[b].dynamic_offset_count;
|
||||
set_layout->shader_stages |= binding->stageFlags;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@ struct radv_descriptor_set_layout {
|
|||
uint32_t size;
|
||||
|
||||
/* Shader stages affected by this descriptor set */
|
||||
uint16_t shader_stages;
|
||||
uint16_t dynamic_shader_stages;
|
||||
|
||||
/* Number of buffers in this descriptor set */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue