mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
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>
This commit is contained in:
parent
4d91812d3c
commit
43816d20dd
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue