radv: remove is_internal pipeline creation parameter

Instead, check if the cache is the meta shader cache. This catches the
shaders created by radv_create_radix_sort_u64().

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21606>
This commit is contained in:
Rhys Perry
2023-02-28 19:33:23 +00:00
committed by Marge Bot
parent 9905322df9
commit dc01f03d1b
20 changed files with 54 additions and 60 deletions

View File

@@ -220,7 +220,7 @@ create_resolve_pipeline(struct radv_device *device, int samples_log2, VkFormat f
result = radv_graphics_pipeline_create(radv_device_to_handle(device), device->meta_state.cache,
&vk_pipeline_info, &radv_pipeline_info,
&device->meta_state.alloc, pipeline, true);
&device->meta_state.alloc, pipeline);
ralloc_free(vs);
ralloc_free(fs);
@@ -476,7 +476,7 @@ create_depth_stencil_resolve_pipeline(struct radv_device *device, int samples_lo
result = radv_graphics_pipeline_create(radv_device_to_handle(device), device->meta_state.cache,
&vk_pipeline_info, &radv_pipeline_info,
&device->meta_state.alloc, pipeline, true);
&device->meta_state.alloc, pipeline);
ralloc_free(vs);
ralloc_free(fs);