Module: Mesa Branch: master Commit: 0c95adaf9eb9763016c3319fef6d581b4d6d7359 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c95adaf9eb9763016c3319fef6d581b4d6d7359
Author: Lionel Landwerlin <[email protected]> Date: Fri Oct 20 18:28:48 2017 +0100 anv: disable stencil pma fix on Gen > 9 This workaround isn't listed on Gen10. Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> --- src/intel/vulkan/gen8_cmd_buffer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/intel/vulkan/gen8_cmd_buffer.c b/src/intel/vulkan/gen8_cmd_buffer.c index f19867ca32..751212b8f4 100644 --- a/src/intel/vulkan/gen8_cmd_buffer.c +++ b/src/intel/vulkan/gen8_cmd_buffer.c @@ -259,6 +259,8 @@ want_depth_pma_fix(struct anv_cmd_buffer *cmd_buffer) UNUSED static bool want_stencil_pma_fix(struct anv_cmd_buffer *cmd_buffer) { + if (GEN_GEN > 9) + return false; assert(GEN_GEN == 9); /* From the Skylake PRM Vol. 2c CACHE_MODE_1::STC PMA Optimization Enable: _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
