projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6cfc54
)
r600g: enable GLSL 3.30 on evergreen GPUs
author
Dave Airlie
<airlied@redhat.com>
Wed, 29 Jan 2014 21:48:09 +0000
(21:48 +0000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 5 Feb 2014 00:49:43 +0000
(10:49 +1000)
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>
src/gallium/drivers/r600/r600_pipe.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_pipe.c
b/src/gallium/drivers/r600/r600_pipe.c
index 2d5b8253665d616993c3b40ea809f6562c08c9a2..47ada0702e545b68e68e7a1c963bcf36281863d3 100644
(file)
--- 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: