summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2016-03-28 22:26:47 -0700
committerJordan Justen <[email protected]>2016-03-28 22:30:33 -0700
commitf56f538ce4753a6fdd969b610f35433fd657e4ee (patch)
tree4e15ffabb5dd5c5d6e0acb82c070a95b273798ec /src/intel
parent8dbfa265a439904628c2d875885e80bc45a90a05 (diff)
anv/gen7: Fix command parser version test with indirect dispatch
Caught-by: Ilia Mirkin <[email protected]> Signed-off-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/vulkan/genX_cmd_buffer.c2
1 files changed, 1 insertions, 1 deletions
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