From d82e8e01c8b570a4988bd6e46d9510f3b6872aa4 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Thu, 2 Mar 2023 18:35:01 +0200 Subject: [PATCH] anv: fixup condition for Wa_14016118574 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit We don't want the WA to kick-in if it's not point/line topology. Signed-off-by: Lionel Landwerlin Fixes: f2645229c2 ("anv: implement Wa_14016118574") Reviewed-by: Tapani Pälli Part-of: --- src/intel/vulkan/genX_cmd_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/genX_cmd_buffer.c b/src/intel/vulkan/genX_cmd_buffer.c index a7ffa13..52f40c2 100644 --- a/src/intel/vulkan/genX_cmd_buffer.c +++ b/src/intel/vulkan/genX_cmd_buffer.c @@ -8084,7 +8084,7 @@ genX(batch_emit_dummy_post_sync_op)(struct anv_batch *batch, primitive_topology == _3DPRIM_POINTLIST_BF || primitive_topology == _3DPRIM_LINESTRIP_CONT || primitive_topology == _3DPRIM_LINESTRIP_BF || - primitive_topology == _3DPRIM_LINESTRIP_CONT_BF) || + primitive_topology == _3DPRIM_LINESTRIP_CONT_BF) && (vertex_count == 1 || vertex_count == 2)) { anv_batch_emit(batch, GENX(PIPE_CONTROL), pc) { pc.PostSyncOperation = WriteImmediateData; -- 2.7.4