diff options
author | Bas Nieuwenhuizen <[email protected]> | 2017-08-06 01:56:17 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-08-06 16:07:09 +0200 |
commit | 15e5a7a6832bba011564bfa2045fba9e833eede2 (patch) | |
tree | f2203fc031bdfe2d0a599002b6ea68c8bf258100 /src/amd/vulkan/radv_meta.h | |
parent | 8286c3a49f03dc219e57d4a9ec27a4d840c5f603 (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_meta.h')
-rw-r--r-- | src/amd/vulkan/radv_meta.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_meta.h b/src/amd/vulkan/radv_meta.h index c4a81a25945..adc889bf4e2 100644 --- a/src/amd/vulkan/radv_meta.h +++ b/src/amd/vulkan/radv_meta.h @@ -234,7 +234,6 @@ nir_shader *radv_meta_build_nir_fs_noop(void); void radv_meta_build_resolve_shader_core(nir_builder *b, bool is_integer, - bool is_srgb, int samples, nir_variable *input_img, nir_variable *color, |