diff options
author | Dave Airlie <airlied@redhat.com> | 2012-04-22 08:09:05 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-04-22 08:09:05 +0100 |
commit | e6aad9ba04fb914a2484241f74ed0557fd1d59da (patch) | |
tree | fdaf0293c1c0be274ca6ab3c0d5ec1a4cf1c94eb | |
parent | 47d22e56de4738f792bb9a86da23435744d53f00 (diff) |
r600g: enable GLSL130 on all cards
Alexandre Demers sent me some cayman results with no major problems.
I'll rip out the env var in a week or so.
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 1f4268ba577..bfe413c1786 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -806,3 +806,3 @@ struct pipe_screen *r600_screen_create(struct radeon_winsys *ws) struct r600_screen *rscreen = CALLOC_STRUCT(r600_screen); - boolean glsl130_default; + if (rscreen == NULL) { @@ -879,4 +879,3 @@ struct pipe_screen *r600_screen_create(struct radeon_winsys *ws) rscreen->use_surface_alloc = debug_get_bool_option("R600_SURF", TRUE); - glsl130_default = (rscreen->chip_class >= R600 && rscreen->chip_class <= EVERGREEN) ? TRUE : FALSE; - rscreen->glsl_feature_level = debug_get_bool_option("R600_GLSL130", glsl130_default) ? 130 : 120; + rscreen->glsl_feature_level = debug_get_bool_option("R600_GLSL130", TRUE) ? 130 : 120; |