summaryrefslogtreecommitdiff
path: root/src/intel/vulkan/anv_image.c
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2017-02-21 18:28:38 -0800
committerJason Ekstrand <jason.ekstrand@intel.com>2017-02-23 12:10:42 -0800
commit42b10b175d5e8dfb9c4c46edbc306e7fac6bd3ec (patch)
treec6c2ac214a2ee1c8bf9bb915c34dad19420d7bcd /src/intel/vulkan/anv_image.c
parent042cc201f2869bb77773a316729643e8e025f115 (diff)
anv/blorp/clear_subpass: Only set surface clear color for fast clears
Not all clear colors are valid. In particular, on Broadwell and earlier, only 0/1 colors are allowed in surface state. No CTS tests are affected outright by this because, apparently, the CTS coverage for different clear colors is pretty terrible. However, when multisample compression is enabled, we do hit it with CTS tests and this commit prevents regressions when enabling MCS on Broadwell and earlier. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: "13.0 17.0" <mesa-stable@lists.freedesktop.org>
Diffstat (limited to 'src/intel/vulkan/anv_image.c')
0 files changed, 0 insertions, 0 deletions