anv/gen7: Fix command parser version test with indirect dispatch
Caught-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
@@ -721,7 +721,7 @@ void genX(CmdDispatchIndirect)(
|
|||||||
/* Linux 4.4 added command parser version 5 which allows the GPGPU
|
/* Linux 4.4 added command parser version 5 which allows the GPGPU
|
||||||
* indirect dispatch registers to be written.
|
* 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;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user