mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 18:00:10 +01:00
radv/meta: remove radv_meta_create_compute_pipeline()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32744>
This commit is contained in:
parent
37116720a8
commit
bf7a0285cf
2 changed files with 0 additions and 26 deletions
|
|
@ -650,29 +650,6 @@ radv_break_on_count(nir_builder *b, nir_variable *var, nir_def *count)
|
|||
nir_store_var(b, var, counter, 0x1);
|
||||
}
|
||||
|
||||
VkResult
|
||||
radv_meta_create_compute_pipeline(struct radv_device *device, nir_shader *nir, VkPipelineLayout pipeline_layout,
|
||||
VkPipeline *pipeline)
|
||||
{
|
||||
const VkPipelineShaderStageCreateInfo stage_info = {
|
||||
.sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO,
|
||||
.stage = VK_SHADER_STAGE_COMPUTE_BIT,
|
||||
.module = vk_shader_module_handle_from_nir(nir),
|
||||
.pName = "main",
|
||||
.pSpecializationInfo = NULL,
|
||||
};
|
||||
|
||||
const VkComputePipelineCreateInfo pipeline_info = {
|
||||
.sType = VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO,
|
||||
.stage = stage_info,
|
||||
.flags = 0,
|
||||
.layout = pipeline_layout,
|
||||
};
|
||||
|
||||
return radv_compute_pipeline_create(radv_device_to_handle(device), device->meta_state.cache, &pipeline_info, NULL,
|
||||
pipeline);
|
||||
}
|
||||
|
||||
VkResult
|
||||
radv_meta_create_pipeline_layout(struct radv_device *device, VkDescriptorSetLayout *set_layout, uint32_t num_pc_ranges,
|
||||
const VkPushConstantRange *pc_ranges, VkPipelineLayout *pipeline_layout)
|
||||
|
|
|
|||
|
|
@ -282,9 +282,6 @@ void radv_cmd_buffer_resolve_rendering_fs(struct radv_cmd_buffer *cmd_buffer, st
|
|||
void radv_depth_stencil_resolve_rendering_fs(struct radv_cmd_buffer *cmd_buffer, VkImageAspectFlags aspects,
|
||||
VkResolveModeFlagBits resolve_mode);
|
||||
|
||||
VkResult radv_meta_create_compute_pipeline(struct radv_device *device, nir_shader *nir,
|
||||
VkPipelineLayout pipeline_layout, VkPipeline *pipeline);
|
||||
|
||||
VkResult radv_meta_create_pipeline_layout(struct radv_device *device, VkDescriptorSetLayout *set_layout,
|
||||
uint32_t num_pc_ranges, const VkPushConstantRange *pc_ranges,
|
||||
VkPipelineLayout *pipeline_layout);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue