diff options
author | Gert Wollny <gert.wollny@collabora.com> | 2021-02-26 16:15:31 +0100 |
---|---|---|
committer | Gert Wollny <gert.wollny@collabora.com> | 2021-03-02 18:46:17 +0100 |
commit | 43816d20ddc0864662698c7977b47d76f3b20f2c (patch) | |
tree | dbd280ad3d48ee1226fa02b22581bd9c50cba135 | |
parent | 4d91812d3c7c97387bff7b9c1d050e9b0fa6928b (diff) |
r600: Enable GLSL 450 for nir shaders.
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9330>
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index b4dbe7655ba..99f52a3bee8 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -359,7 +359,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_GLSL_FEATURE_LEVEL: if (family >= CHIP_CEDAR) - return 430; + return is_nir_enabled(&rscreen->b) ? 450 : 430; /* pre-evergreen geom shaders need newer kernel */ if (rscreen->b.info.drm_minor >= 37) return 330; |