lima/ppir: remove assert on ppir_emit_tex unsupported feature
authorErico Nunes <nunes.erico@gmail.com>
Thu, 19 Dec 2019 21:49:49 +0000 (22:49 +0100)
committerErico Nunes <nunes.erico@gmail.com>
Fri, 20 Dec 2019 19:58:50 +0000 (20:58 +0100)
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>

src/gallium/drivers/lima/ir/pp/nir.c

index 2d0d97eadec128349e98295d4143582314d675b6..78220aefb03a573b612c871f002820dbc017e46a 100644 (file)
@@ -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;
       }
    }