Searched refs:set_layout (Results 1 – 6 of 6) sorted by relevance
/external/mesa3d/src/amd/vulkan/ |
D | radv_descriptor_set.c | 41 struct radv_descriptor_set_layout *set_layout; in radv_CreateDescriptorSetLayout() local 54 (max_binding + 1) * sizeof(set_layout->binding[0]) + in radv_CreateDescriptorSetLayout() 57 set_layout = vk_alloc2(&device->alloc, pAllocator, size, 8, in radv_CreateDescriptorSetLayout() 59 if (!set_layout) in radv_CreateDescriptorSetLayout() 64 (struct radv_sampler **)&set_layout->binding[max_binding + 1]; in radv_CreateDescriptorSetLayout() 66 set_layout->binding_count = max_binding + 1; in radv_CreateDescriptorSetLayout() 67 set_layout->shader_stages = 0; in radv_CreateDescriptorSetLayout() 68 set_layout->size = 0; in radv_CreateDescriptorSetLayout() 70 memset(set_layout->binding, 0, size - sizeof(struct radv_descriptor_set_layout)); in radv_CreateDescriptorSetLayout() 83 set_layout->binding[b].dynamic_offset_count = 1; in radv_CreateDescriptorSetLayout() [all …]
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_descriptor_set.c | 45 struct anv_descriptor_set_layout *set_layout; in anv_CreateDescriptorSetLayout() local 58 (max_binding + 1) * sizeof(set_layout->binding[0]) + in anv_CreateDescriptorSetLayout() 61 set_layout = vk_alloc2(&device->alloc, pAllocator, size, 8, in anv_CreateDescriptorSetLayout() 63 if (!set_layout) in anv_CreateDescriptorSetLayout() 68 (struct anv_sampler **)&set_layout->binding[max_binding + 1]; in anv_CreateDescriptorSetLayout() 70 memset(set_layout, 0, sizeof(*set_layout)); in anv_CreateDescriptorSetLayout() 71 set_layout->binding_count = max_binding + 1; in anv_CreateDescriptorSetLayout() 75 memset(&set_layout->binding[b], -1, sizeof(set_layout->binding[b])); in anv_CreateDescriptorSetLayout() 77 set_layout->binding[b].array_size = 0; in anv_CreateDescriptorSetLayout() 78 set_layout->binding[b].immutable_samplers = NULL; in anv_CreateDescriptorSetLayout() [all …]
|
D | anv_nir_apply_pipeline_layout.c | 297 struct anv_descriptor_set_layout *set_layout = layout->set[set].layout; in anv_nir_apply_pipeline_layout() local 301 set_layout->binding_count) { in anv_nir_apply_pipeline_layout() 302 if (set_layout->binding[b].stage[shader->stage].surface_index >= 0) in anv_nir_apply_pipeline_layout() 303 map->surface_count += set_layout->binding[b].array_size; in anv_nir_apply_pipeline_layout() 304 if (set_layout->binding[b].stage[shader->stage].sampler_index >= 0) in anv_nir_apply_pipeline_layout() 305 map->sampler_count += set_layout->binding[b].array_size; in anv_nir_apply_pipeline_layout() 306 if (set_layout->binding[b].stage[shader->stage].image_index >= 0) in anv_nir_apply_pipeline_layout() 307 map->image_count += set_layout->binding[b].array_size; in anv_nir_apply_pipeline_layout() 315 struct anv_descriptor_set_layout *set_layout = layout->set[set].layout; in anv_nir_apply_pipeline_layout() local 319 set_layout->binding_count) { in anv_nir_apply_pipeline_layout() [all …]
|
D | anv_nir_apply_dynamic_offsets.c | 33 struct anv_descriptor_set_layout *set_layout; in apply_dynamic_offsets_block() local 62 set_layout = layout->set[set].layout; in apply_dynamic_offsets_block() 63 if (set_layout->binding[binding].dynamic_offset_index < 0) in apply_dynamic_offsets_block() 70 set_layout->binding[binding].dynamic_offset_index; in apply_dynamic_offsets_block() 71 uint32_t array_size = set_layout->binding[binding].array_size; in apply_dynamic_offsets_block()
|
D | anv_cmd_buffer.c | 506 struct anv_descriptor_set_layout *set_layout; in anv_CmdBindDescriptorSets() local 512 set_layout = layout->set[firstSet + i].layout; in anv_CmdBindDescriptorSets() 516 cmd_buffer->state.descriptors_dirty |= set_layout->shader_stages; in anv_CmdBindDescriptorSets() 519 if (set_layout->dynamic_offset_count > 0) { in anv_CmdBindDescriptorSets() 520 anv_foreach_stage(s, set_layout->shader_stages) { in anv_CmdBindDescriptorSets() 530 for (unsigned b = 0; b < set_layout->binding_count; b++) { in anv_CmdBindDescriptorSets() 531 if (set_layout->binding[b].dynamic_offset_index < 0) in anv_CmdBindDescriptorSets() 534 unsigned array_size = set_layout->binding[b].array_size; in anv_CmdBindDescriptorSets() 544 cmd_buffer->state.push_constants_dirty |= set_layout->shader_stages; in anv_CmdBindDescriptorSets()
|
/external/vulkan-validation-layers/layers/ |
D | core_validation.cpp | 6712 VkDescriptorSetLayout set_layout) { in PostCallRecordCreateDescriptorSetLayout() argument 6714 …dev_data->descriptorSetLayoutMap[set_layout] = new cvdescriptorset::DescriptorSetLayout(create_inf… in PostCallRecordCreateDescriptorSetLayout()
|