Просмотр исходного кода

lima/ppir: remove assert on ppir_emit_tex unsupported feature

This assert causes testing tools such as shaderdb to abort on some test
cases. This is an unsupported feature and not a compiler bug. The
compilation error is already propagated correctly, so we can remove the
assert to allow testing tools to run to completion.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3176>
master
Erico Nunes 7 лет назад
Родитель
Сommit
4322656dee
1 измененных файлов: 0 добавлений и 1 удалений
  1. 0
    1
      src/gallium/drivers/lima/ir/pp/nir.c

+ 0
- 1
src/gallium/drivers/lima/ir/pp/nir.c Просмотреть файл

@@ -504,7 +504,6 @@ static ppir_node *ppir_emit_tex(ppir_block *block, nir_instr *ni)
break;
default:
ppir_error("unsupported texture source type\n");
assert(0);
return NULL;
}
}

Загрузка…
Отмена
Сохранить