aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2014-01-29 21:48:09 +0000
committerDave Airlie <[email protected]>2014-02-05 10:49:43 +1000
commitccea799ee3fbefaf6d97c21bbf3e38f857f91d87 (patch)
treeb2ed62f4af68f0e1309792f5ce2b116277249c82
parentc6cfc54db059310c41d139c4d01929928d031b55 (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 <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
-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 2d5b8253665..47ada0702e5 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: