summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_util.h
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2018-05-21 01:26:46 +0200
committerBas Nieuwenhuizen <[email protected]>2018-05-21 10:33:41 +0200
commita63a0960e3ebf049e593f51ce1e02dc84254f9c4 (patch)
tree587276d8d3bf24452631e772b67055bb7c2a6937 /src/amd/vulkan/radv_util.h
parent63525ba730e3d8a466d7f6382a2b91f4c75dd171 (diff)
radv: Fix SRGB compute copies.
SRGB stores are broken. We had compensation code in the resolve path but none in the copy path. Since we don't want any conversion and it does not matter for DCC, just make everything UNORM instead. This happened to cause wrong colors for the PRIME path, as that uses image->buffer copies which always use the compute path. CC: 18.0 18.1 <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106587 Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_util.h')
0 files changed, 0 insertions, 0 deletions