mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
r600g: enable glsl 130 on evergreen.
I've done a piglit run on my SUMO machine and I see no regressions. Lots of things to fix (skip->fail), but hey maybe we can fix them if we can see them. I'll try and work my way across r600,700,cayman sometime if nobody else gets to them. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
951b888be4
commit
7af9f6325e
1 changed files with 3 additions and 1 deletions
|
|
@ -803,6 +803,7 @@ static unsigned radeon_family_from_device(unsigned device)
|
|||
struct pipe_screen *r600_screen_create(struct radeon_winsys *ws)
|
||||
{
|
||||
struct r600_screen *rscreen = CALLOC_STRUCT(r600_screen);
|
||||
boolean glsl130_default;
|
||||
if (rscreen == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
|
@ -875,7 +876,8 @@ struct pipe_screen *r600_screen_create(struct radeon_winsys *ws)
|
|||
pipe_mutex_init(rscreen->fences.mutex);
|
||||
|
||||
rscreen->use_surface_alloc = debug_get_bool_option("R600_SURF", TRUE);
|
||||
rscreen->glsl_feature_level = debug_get_bool_option("R600_GLSL130", FALSE) ? 130 : 120;
|
||||
glsl130_default = rscreen->chip_class == EVERGREEN ? TRUE : FALSE;
|
||||
rscreen->glsl_feature_level = debug_get_bool_option("R600_GLSL130", glsl130_default) ? 130 : 120;
|
||||
|
||||
return &rscreen->screen;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue