pco: fix Mesa-CI regression in pco texture packed formats
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Signed-off-by: Luigi Santivetti <luigi.santivetti@imgtec.com>
Fixes: 9caa563bc9 ("pvr, pco: Commonize texture packing code")
Reviewed-by: Simon Perretta <simon.perretta@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40156>
This commit is contained in:
Luigi Santivetti 2026-02-28 20:01:41 +00:00
parent e88346330e
commit df6d398d45

View file

@ -931,7 +931,7 @@ static nir_def *lower_image(nir_builder *b, nir_instr *instr, void *cb_data)
bool roundzero = false;
bool split = false;
enum pco_pck_format pck_format =
pco_pipe_to_pck_format(data_format, &scale, &roundzero, &split);
pco_pipe_to_pck_format(format, &scale, &roundzero, &split);
if (pck_format != ~0) {
if (split) {