diff options
author | Jason Ekstrand <[email protected]> | 2017-02-21 18:28:38 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-02-23 12:10:42 -0800 |
commit | 42b10b175d5e8dfb9c4c46edbc306e7fac6bd3ec (patch) | |
tree | c6c2ac214a2ee1c8bf9bb915c34dad19420d7bcd /src/intel/vulkan/anv_pipeline.c | |
parent | 042cc201f2869bb77773a316729643e8e025f115 (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 <[email protected]>
Cc: "13.0 17.0" <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_pipeline.c')
0 files changed, 0 insertions, 0 deletions