Module: Mesa Branch: master Commit: 4975b3ec551d81460f07d0fe6a645c1e1f1548f1 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4975b3ec551d81460f07d0fe6a645c1e1f1548f1
Author: Gert Wollny <[email protected]> Date: Sun Jul 5 16:56:37 2020 +0200 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 <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6025> --- src/gallium/drivers/r600/r600_pipe.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index e24bd1e4995..eb26074221a 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -559,14 +559,10 @@ static int r600_get_shader_param(struct pipe_screen* pscreen, 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: _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
