anv: Implement the Skylake stencil PMA optimization
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 2 Feb 2017 00:41:04 +0000 (16:41 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 14 Feb 2017 22:18:55 +0000 (14:18 -0800)
commitf434a60a538bb3b8813f3bdcaa55e34a67279dee
tree147c29221b23be581bdf7a2a0e80ce0c1af2598a
parentd665c51eea4e85cb5a9e72f9a5cf1242795eda8a
anv: Implement the Skylake stencil PMA optimization

Unfortunately, this doesn't substantially improve the performance of any
known apps.  With Dota 2 on my Sky Lake gt4, it seems help by somewhere
between 0% and 1% but there's enough noise that it's hard to get a clear
picture.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
src/intel/vulkan/anv_private.h
src/intel/vulkan/gen8_cmd_buffer.c
src/intel/vulkan/genX_pipeline.c