mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 15:40:11 +01:00
r600g: enable GLSL 3.30 on evergreen GPUs
This throws the switch to enable GL 3.3 and GLSL 330. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
c6cfc54db0
commit
ccea799ee3
1 changed files with 1 additions and 1 deletions
|
|
@ -372,7 +372,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
case PIPE_CAP_GLSL_FEATURE_LEVEL:
|
case PIPE_CAP_GLSL_FEATURE_LEVEL:
|
||||||
return 140;
|
return family >= CHIP_CEDAR ? 330 : 140;
|
||||||
|
|
||||||
/* Supported except the original R600. */
|
/* Supported except the original R600. */
|
||||||
case PIPE_CAP_INDEP_BLEND_ENABLE:
|
case PIPE_CAP_INDEP_BLEND_ENABLE:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue