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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user