nir/lower_task_shader: Don't fail adding a launch when last instruction is a jump
authorCaio Oliveira <caio.oliveira@intel.com>
Wed, 21 Sep 2022 14:43:52 +0000 (07:43 -0700)
committerMarge Bot <emma+marge@anholt.net>
Fri, 23 Sep 2022 01:25:48 +0000 (01:25 +0000)
commit3f4343c7cd247cd089ad8f63a72541da39346259
tree7ea0e2216201f85670df140dfde6966e7c00bbc9
parent15e78caf8d38e97183aba6bce65b1bef34869537
nir/lower_task_shader: Don't fail adding a launch when last instruction is a jump

Fixes: 8aff8d3dd42 ("nir: Add common task shader lowering to make the backend's job easier.")
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18442>
src/compiler/nir/nir_lower_task_shader.c