Home
last modified time | relevance | path

Searched refs:pipeline_layout (Results 1 – 25 of 44) sorted by relevance

12

/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Dcompute_pipeline.cc39 const VkPipelineLayout& pipeline_layout, in CreateVkComputePipeline() argument
56 pipeline_info.layout = pipeline_layout; in CreateVkComputePipeline()
72 VkPipelineLayout pipeline_layout = VK_NULL_HANDLE; in Compute() local
73 r = CreateVkPipelineLayout(&pipeline_layout); in Compute()
78 r = CreateVkComputePipeline(pipeline_layout, &pipeline); in Compute()
92 BindVkDescriptorSets(pipeline_layout); in Compute()
94 r = RecordPushConstant(pipeline_layout); in Compute()
115 pipeline_layout, nullptr); in Compute()
Dpipeline.h92 void BindVkDescriptorSets(const VkPipelineLayout& pipeline_layout);
95 Result RecordPushConstant(const VkPipelineLayout& pipeline_layout);
105 Result CreateVkPipelineLayout(VkPipelineLayout* pipeline_layout);
Dpipeline.cc174 Result Pipeline::CreateVkPipelineLayout(VkPipelineLayout* pipeline_layout) { in CreateVkPipelineLayout() argument
199 pipeline_layout) != VK_SUCCESS) { in CreateVkPipelineLayout()
233 Result Pipeline::RecordPushConstant(const VkPipelineLayout& pipeline_layout) { in RecordPushConstant() argument
235 pipeline_layout); in RecordPushConstant()
479 void Pipeline::BindVkDescriptorSets(const VkPipelineLayout& pipeline_layout) { in BindVkDescriptorSets() argument
510 pipeline_layout, static_cast<uint32_t>(i), 1, in BindVkDescriptorSets()
Dgraphics_pipeline.cc568 const VkPipelineLayout& pipeline_layout, in CreateVkGraphicsPipeline() argument
720 pipeline_info.layout = pipeline_layout; in CreateVkGraphicsPipeline()
886 VkPipelineLayout pipeline_layout = VK_NULL_HANDLE; in Draw() local
887 r = CreateVkPipelineLayout(&pipeline_layout); in Draw()
894 vertex_buffer, pipeline_layout, &pipeline); in Draw()
919 BindVkDescriptorSets(pipeline_layout); in Draw()
921 r = RecordPushConstant(pipeline_layout); in Draw()
975 pipeline_layout, nullptr); in Draw()
Dpush_constant.cc73 VkPipelineLayout pipeline_layout) { in RecordPushConstantVkCommand() argument
99 command->GetVkCommandBuffer(), pipeline_layout, VK_SHADER_STAGE_ALL, in RecordPushConstantVkCommand()
Dcompute_pipeline.h41 Result CreateVkComputePipeline(const VkPipelineLayout& pipeline_layout,
Dpush_constant.h42 VkPipelineLayout pipeline_layout);
Dgraphics_pipeline.h77 const VkPipelineLayout& pipeline_layout,
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_descriptor_set.c73 struct v3dv_pipeline_layout *pipeline_layout, in v3dv_descriptor_map_get_descriptor() argument
97 pipeline_layout->set[set_number].dynamic_offset_start + in v3dv_descriptor_map_get_descriptor()
116 struct v3dv_pipeline_layout *pipeline_layout, in v3dv_descriptor_map_get_descriptor_bo() argument
161 struct v3dv_pipeline_layout *pipeline_layout, in v3dv_descriptor_map_get_sampler() argument
212 struct v3dv_pipeline_layout *pipeline_layout, in v3dv_descriptor_map_get_sampler_state() argument
218 pipeline_layout, in v3dv_descriptor_map_get_sampler_state()
233 struct v3dv_pipeline_layout *pipeline_layout, in v3dv_descriptor_map_get_texture_bo() argument
239 pipeline_layout, index, NULL); in v3dv_descriptor_map_get_texture_bo()
264 struct v3dv_pipeline_layout *pipeline_layout, in v3dv_descriptor_map_get_texture_shader_state() argument
271 pipeline_layout, in v3dv_descriptor_map_get_texture_shader_state()
[all …]
Dv3dv_meta_clear.c224 VkPipelineLayout *pipeline_layout) in create_color_clear_pipeline_layout() argument
243 &info, &device->vk.alloc, pipeline_layout); in create_color_clear_pipeline_layout()
248 VkPipelineLayout *pipeline_layout) in create_depth_clear_pipeline_layout() argument
267 &info, &device->vk.alloc, pipeline_layout); in create_depth_clear_pipeline_layout()
572 VkPipelineLayout pipeline_layout, in create_color_clear_pipeline() argument
619 pipeline_layout, in create_color_clear_pipeline()
630 VkPipelineLayout pipeline_layout, in create_depth_clear_pipeline() argument
678 pipeline_layout, in create_depth_clear_pipeline()
Dv3dv_private.h2179 struct v3dv_pipeline_layout *pipeline_layout,
2187 struct v3dv_pipeline_layout *pipeline_layout,
2194 struct v3dv_pipeline_layout *pipeline_layout,
2201 struct v3dv_pipeline_layout *pipeline_layout,
2208 struct v3dv_pipeline_layout *pipeline_layout,
2214 struct v3dv_pipeline_layout *pipeline_layout,
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_apply_pipeline_layout.c39 const struct radv_pipeline_layout *pipeline_layout; member
74 struct radv_descriptor_set_layout *layout = state->pipeline_layout->set[desc_set].layout; in visit_vulkan_resource_index()
81 unsigned idx = state->pipeline_layout->set[desc_set].dynamic_offset_start + in visit_vulkan_resource_index()
84 offset = state->pipeline_layout->push_constant_size + idx * 16; in visit_vulkan_resource_index()
190 state->pipeline_layout->set[binding.desc_set].layout; in load_buffer_descriptor()
239 struct radv_descriptor_set_layout *layout = state->pipeline_layout->set[desc_set].layout; in get_sampler_desc()
539 .pipeline_layout = layout, in radv_nir_apply_pipeline_layout()
Dradv_meta_blit.c263 device->meta_state.blit.pipeline_layout, VK_SHADER_STAGE_VERTEX_BIT, 0, 20, in meta_emit_blit()
344 cmd_buffer, VK_PIPELINE_BIND_POINT_GRAPHICS, device->meta_state.blit.pipeline_layout, in meta_emit_blit()
655 radv_DestroyPipelineLayout(radv_device_to_handle(device), state->blit.pipeline_layout, in radv_device_finish_meta_blit_state()
761 .layout = device->meta_state.blit.pipeline_layout, in build_pipeline()
955 &device->meta_state.blit.pipeline_layout); in radv_device_init_meta_blit_state()
Dradv_descriptor_set.c601 RADV_FROM_HANDLE(radv_pipeline_layout, pipeline_layout, _pipelineLayout); in radv_DestroyPipelineLayout()
603 if (!pipeline_layout) in radv_DestroyPipelineLayout()
606 radv_pipeline_layout_finish(device, pipeline_layout); in radv_DestroyPipelineLayout()
608 vk_free2(&device->vk.alloc, pAllocator, pipeline_layout); in radv_DestroyPipelineLayout()
1417 RADV_FROM_HANDLE(radv_pipeline_layout, pipeline_layout, pCreateInfo->pipelineLayout); in radv_CreateDescriptorUpdateTemplate()
1423 set_layout = pipeline_layout->set[pCreateInfo->set].layout; in radv_CreateDescriptorUpdateTemplate()
Dradv_pipeline.c3532 struct radv_pipeline_layout *pipeline_layout, in radv_fill_shader_info() argument
3559 radv_nir_shader_info_pass(device, stages[MESA_SHADER_FRAGMENT].nir, pipeline_layout, in radv_fill_shader_info()
3598 radv_nir_shader_info_pass(device, combined_nir[i], pipeline_layout, pipeline_key, in radv_fill_shader_info()
3624 radv_nir_shader_info_pass(device, combined_nir[i], pipeline_layout, pipeline_key, in radv_fill_shader_info()
3636 radv_nir_shader_info_pass(device, stages[i].nir, pipeline_layout, pipeline_key, in radv_fill_shader_info()
4478 const struct radv_pipeline_layout *pipeline_layout, in radv_pipeline_create_gs_copy_shader() argument
4488 … radv_nir_shader_info_pass(device, stages[MESA_SHADER_GEOMETRY].nir, pipeline_layout, pipeline_key, in radv_pipeline_create_gs_copy_shader()
4510 const struct radv_pipeline_layout *pipeline_layout, in radv_pipeline_nir_to_asm() argument
4529 radv_pipeline_create_gs_copy_shader(pipeline, stages, pipeline_key, pipeline_layout, in radv_pipeline_nir_to_asm()
4572 radv_create_shaders(struct radv_pipeline *pipeline, struct radv_pipeline_layout *pipeline_layout, in radv_create_shaders() argument
[all …]
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_descriptor_set.c485 TU_FROM_HANDLE(tu_pipeline_layout, pipeline_layout, _pipelineLayout); in tu_DestroyPipelineLayout()
487 if (!pipeline_layout) in tu_DestroyPipelineLayout()
490 for (uint32_t i = 0; i < pipeline_layout->num_sets; i++) in tu_DestroyPipelineLayout()
491 tu_descriptor_set_layout_unref(device, pipeline_layout->set[i].layout); in tu_DestroyPipelineLayout()
493 vk_object_free(&device->vk, pAllocator, pipeline_layout); in tu_DestroyPipelineLayout()
1155 TU_FROM_HANDLE(tu_pipeline_layout, pipeline_layout, pCreateInfo->pipelineLayout); in tu_CreateDescriptorUpdateTemplate()
1161 set_layout = pipeline_layout->set[pCreateInfo->set].layout; in tu_CreateDescriptorUpdateTemplate()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DVulkanCommandBufferPerf.cpp272 vkCmdBindDescriptorSets(info.cmds[x], VK_PIPELINE_BIND_POINT_GRAPHICS, info.pipeline_layout, in PrimaryCommandBufferBenchmarkHundredIndividual()
338 vkCmdBindDescriptorSets(info.cmd, VK_PIPELINE_BIND_POINT_GRAPHICS, info.pipeline_layout, 0, in PrimaryCommandBufferBenchmarkOneWithOneHundred()
405 info.pipeline_layout, 0, NUM_DESCRIPTOR_SETS, info.desc_set.data(), in SecondaryCommandBufferBenchmark()
/third_party/ffmpeg/libavutil/
Dvulkan.c1112 vk->CmdPushConstants(e->bufs[e->qf->cur_queue], e->bound_pl->pipeline_layout, in ff_vk_update_push_exec()
1176 s->hwctx->alloc, &pl->pipeline_layout); in ff_vk_init_pipeline_layout()
1196 dt->pipelineLayout = pl->pipeline_layout; in ff_vk_init_pipeline_layout()
1237 .layout = pl->pipeline_layout, in ff_vk_init_compute_pipeline()
1275 pl->pipeline_layout, 0, in ff_vk_bind_pipeline_exec()
1340 vk->DestroyPipelineLayout(s->hwctx->act_dev, pl->pipeline_layout, in free_pipeline()
Dvulkan.h110 VkPipelineLayout pipeline_layout; member
/third_party/mesa3d/src/imagination/rogue/nir/
Drogue_nir_lower_io.c35 void *pipeline_layout) in lower_vulkan_resource_index() argument
/third_party/mesa3d/src/amd/compiler/tests/
Dhelpers.cpp526 DestroyPipelineLayout(device, pipeline_layout, NULL); in ~PipelineBuilder()
677 create_info.layout = pipeline_layout; in create_compute_pipeline()
881 gfx_pipeline_info.layout = pipeline_layout; in create_graphics_pipeline()
918 …RTED VkResult result = CreatePipelineLayout(device, &pipeline_layout_info, NULL, &pipeline_layout); in create_pipeline()
Dhelpers.h140 VkPipelineLayout pipeline_layout; variable
/third_party/glfw/tests/
Dvulkan.c350 VkPipelineLayout pipeline_layout; member
553 demo->pipeline_layout, 0, 1, &demo->desc_set, 0, in demo_draw_build_cmd()
1238 &demo->pipeline_layout); in demo_prepare_descriptor_layout()
1363 pipeline.layout = demo->pipeline_layout; in demo_prepare_pipeline()
2152 vkDestroyPipelineLayout(demo->device, demo->pipeline_layout, NULL); in demo_cleanup()
2203 vkDestroyPipelineLayout(demo->device, demo->pipeline_layout, NULL); in demo_resize()
/third_party/mesa3d/src/intel/vulkan/
Danv_descriptor_set.c828 ANV_FROM_HANDLE(anv_pipeline_layout, pipeline_layout, _pipelineLayout); in anv_DestroyPipelineLayout()
830 if (!pipeline_layout) in anv_DestroyPipelineLayout()
833 for (uint32_t i = 0; i < pipeline_layout->num_sets; i++) in anv_DestroyPipelineLayout()
834 anv_descriptor_set_layout_unref(device, pipeline_layout->set[i].layout); in anv_DestroyPipelineLayout()
836 vk_object_free(&device->vk, pAllocator, pipeline_layout); in anv_DestroyPipelineLayout()
/third_party/mesa3d/src/vulkan/overlay-layer/
Doverlay.cpp166 VkPipelineLayout pipeline_layout; member
1268 data->pipeline_layout, 0, 1, desc_set, 0, NULL); in render_swapchain_display()
1299 device_data->vtable.CmdPushConstants(draw->command_buffer, data->pipeline_layout, in render_swapchain_display()
1302 device_data->vtable.CmdPushConstants(draw->command_buffer, data->pipeline_layout, in render_swapchain_display()
1512 NULL, &data->pipeline_layout)); in setup_swapchain_data_pipeline()
1607 info.layout = data->pipeline_layout; in setup_swapchain_data_pipeline()
1814 device_data->vtable.DestroyPipelineLayout(device_data->device, data->pipeline_layout, NULL); in shutdown_swapchain_data()

12