summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2014-01-29 21:48:09 +0000
committerDave Airlie <airlied@redhat.com>2014-02-04 09:47:49 +1000
commitc59f9a732432bdb2f5045bd5a96cec0b571fdd1e (patch)
treed539475c392fdd45d6dc30811cf5d81ea5a95607
parent772a4e62a356c213151295a1c2303611a366706e (diff)
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>
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c2
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 2fcef28cf17..7ed70e166d3 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -372,7 +372,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
return 1;
case PIPE_CAP_GLSL_FEATURE_LEVEL:
- return 140;
+ return family >= CHIP_CEDAR ? 330 : 140;
/* Supported except the original R600. */
case PIPE_CAP_INDEP_BLEND_ENABLE: