From 15e5a7a6832bba011564bfa2045fba9e833eede2 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Sun, 6 Aug 2017 01:56:17 +0200 Subject: radv: Only convert linear->srgb in compute resolves. It justs works with the fragment shader resolve, so no need to do a custom conversion. In fact with SRGB dest, it actually gives wrong results. Fixes: 69136f4e633 "radv/meta: add resolve pass using fragment/vertex shaders" Reviewed-by: Dave Airlie --- src/amd/vulkan/radv_private.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/amd/vulkan/radv_private.h') diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 6230efce81f..1f0e0252bf1 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -434,8 +434,6 @@ struct radv_meta_state { VkPipelineLayout p_layout; struct { - VkRenderPass srgb_render_pass; - VkPipeline srgb_pipeline; VkRenderPass render_pass[NUM_META_FS_KEYS]; VkPipeline pipeline[NUM_META_FS_KEYS]; } rc[MAX_SAMPLES_LOG2]; -- cgit v1.2.3