anv: Enable MSAA compression
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 17 Feb 2017 22:14:48 +0000 (14:14 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 23 Feb 2017 20:10:42 +0000 (12:10 -0800)
commit261092f7d4f3142760fcce98ccb63b4efd47cc48
treed23555111a0c689a4e0adcdcbedd501b468db804
parent42b10b175d5e8dfb9c4c46edbc306e7fac6bd3ec
anv: Enable MSAA compression

This just enables basic MSAA compression (no fast clears) for all
multisampled surfaces.  This improves the framerate of the Sascha
"multisampling" demo by 76% on my Sky Lake laptop.  Running Talos on
medium settings with 8x MSAA, this improves the framerate in the
benchmark by 80%.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
src/intel/vulkan/TODO
src/intel/vulkan/anv_blorp.c
src/intel/vulkan/anv_image.c
src/intel/vulkan/anv_pipeline.c
src/intel/vulkan/genX_cmd_buffer.c