<div dir="ltr">Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 20, 2017 at 10:33 AM, Lionel Landwerlin <span dir="ltr"><<a href="mailto:lionel.g.landwerlin@intel.com" target="_blank">lionel.g.landwerlin@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This workaround isn't listed on Gen10.<br>
<br>
Signed-off-by: Lionel Landwerlin <<a href="mailto:lionel.g.landwerlin@intel.com">lionel.g.landwerlin@intel.com</a><wbr>><br>
---<br>
src/intel/vulkan/gen8_cmd_<wbr>buffer.c | 2 ++<br>
1 file changed, 2 insertions(+)<br>
<br>
diff --git a/src/intel/vulkan/gen8_cmd_<wbr>buffer.c b/src/intel/vulkan/gen8_cmd_<wbr>buffer.c<br>
index f19867ca320..751212b8f43 100644<br>
--- a/src/intel/vulkan/gen8_cmd_<wbr>buffer.c<br>
+++ b/src/intel/vulkan/gen8_cmd_<wbr>buffer.c<br>
@@ -259,6 +259,8 @@ want_depth_pma_fix(struct anv_cmd_buffer *cmd_buffer)<br>
UNUSED static bool<br>
want_stencil_pma_fix(struct anv_cmd_buffer *cmd_buffer)<br>
{<br>
+ if (GEN_GEN > 9)<br>
+ return false;<br>
assert(GEN_GEN == 9);<br>
<br>
/* From the Skylake PRM Vol. 2c CACHE_MODE_1::STC PMA Optimization Enable:<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.15.0.rc1<br>
<br>
</font></span></blockquote></div><br></div>