summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_private.h
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2017-08-06 01:56:17 +0200
committerBas Nieuwenhuizen <[email protected]>2017-08-06 16:07:09 +0200
commit15e5a7a6832bba011564bfa2045fba9e833eede2 (patch)
treef2203fc031bdfe2d0a599002b6ea68c8bf258100 /src/amd/vulkan/radv_private.h
parent8286c3a49f03dc219e57d4a9ec27a4d840c5f603 (diff)
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 <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r--src/amd/vulkan/radv_private.h2
1 files changed, 0 insertions, 2 deletions
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];