mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
pan/bi: Fix assertion
Fixes: bef3fedc81 ("pan/bi: Lower 8bit fragment outputs to 16bit")
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reported-by: Coverity
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8489>
This commit is contained in:
parent
ca834d0b2d
commit
81becaa685
1 changed files with 1 additions and 1 deletions
|
|
@ -2135,7 +2135,7 @@ bifrost_nir_lower_i8_fragout_impl(struct nir_builder *b,
|
|||
nir_alu_type type =
|
||||
nir_alu_type_get_base_type(nir_intrinsic_src_type(intr));
|
||||
|
||||
assert(type == nir_type_int || nir_type_uint);
|
||||
assert(type == nir_type_int || type == nir_type_uint);
|
||||
|
||||
b->cursor = nir_before_instr(instr);
|
||||
nir_ssa_def *cast = type == nir_type_int ?
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue