r600: Enable compute shaders for NIR code path
There are still regessions compared to TGSI, but there are also many
fixes.
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6025>
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index e24bd1e..eb26074 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -559,14 +559,10 @@
if (rscreen->b.info.drm_minor >= 37)
break;
return 0;
- /* With NIR we currently disable TES, TCS and COMP shaders */
case PIPE_SHADER_TESS_CTRL:
case PIPE_SHADER_TESS_EVAL:
- if (rscreen->b.family >= CHIP_CEDAR)
- break;
- /* fallthrough */
case PIPE_SHADER_COMPUTE:
- if (!is_nir_enabled(&rscreen->b))
+ if (rscreen->b.family >= CHIP_CEDAR)
break;
/* fallthrough */
default: