From: Jordan Justen Date: Tue, 29 Mar 2016 05:26:47 +0000 (-0700) Subject: anv/gen7: Fix command parser version test with indirect dispatch X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f56f538ce4753a6fdd969b610f35433fd657e4ee;p=mesa.git anv/gen7: Fix command parser version test with indirect dispatch Caught-by: Ilia Mirkin Signed-off-by: Jordan Justen --- diff --git a/src/intel/vulkan/genX_cmd_buffer.c b/src/intel/vulkan/genX_cmd_buffer.c index 35c46008a84..d642832dd57 100644 --- a/src/intel/vulkan/genX_cmd_buffer.c +++ b/src/intel/vulkan/genX_cmd_buffer.c @@ -721,7 +721,7 @@ void genX(CmdDispatchIndirect)( /* Linux 4.4 added command parser version 5 which allows the GPGPU * indirect dispatch registers to be written. */ - if (verify_cmd_parser(cmd_buffer->device, 5, "vkCmdDispatchIndirect")) + if (!verify_cmd_parser(cmd_buffer->device, 5, "vkCmdDispatchIndirect")) return; #endif