diff options
author | Nicolai Hähnle <[email protected]> | 2017-01-16 16:44:08 +0100 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-01-16 20:16:18 +0100 |
commit | 5e94e5bb9bc30b575fdd3347bab7f170fb736e83 (patch) | |
tree | 5eb6dc7a2c2adb26321e5410ea100e1ec76bd07f /src/gallium/drivers | |
parent | 7a2b65a1d749fd6dcc31d47205445dabace0d265 (diff) |
radeonsi: fix R600_DEBUG=nooptvariant
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Vedran Miletić <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state_shaders.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c index d2f04bc8328..1ae344a62cc 100644 --- a/src/gallium/drivers/radeonsi/si_state_shaders.c +++ b/src/gallium/drivers/radeonsi/si_state_shaders.c @@ -1129,7 +1129,7 @@ static int si_shader_select_with_key(struct si_screen *sscreen, struct si_shader *current = state->current; struct si_shader *iter, *shader = NULL; - if (unlikely(sscreen->b.chip_class & DBG_NO_OPT_VARIANT)) { + if (unlikely(sscreen->b.debug_flags & DBG_NO_OPT_VARIANT)) { memset(&key->opt, 0, sizeof(key->opt)); } |