[Mesa-dev] [PATCH] radeonsi: fix R600_DEBUG=nooptvariant

Marek Olšák maraeo at gmail.com
Mon Jan 16 17:52:30 UTC 2017


Oh well :)

Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Mon, Jan 16, 2017 at 5:03 PM, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> From: Nicolai Hähnle <nicolai.haehnle at amd.com>
>
> ---
>  src/gallium/drivers/radeonsi/si_state_shaders.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c
> index 9967837..9d30b90 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));
>         }
>
> --
> 2.7.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list