Commit 3e877ca2 authored by José Casanova Crespo's avatar José Casanova Crespo

vc4: Add missing range_base/range at nir_load_ubos in yuv_blit fs.

Fixes: f3b33a5a ("nir: Add a range_base+range to nir_intrinsic_load_ubo().")
Reviewed-by: Eric Anholt's avatarEric Anholt <>
Tested-by: Piotr Oniszczuk's avatarPiotr Oniszczuk <>
Part-of: <!7160>
parent 4cfdd425
......@@ -300,6 +300,8 @@ static void *vc4_get_yuv_fs(struct pipe_context *pctx, int cpp)
load->src[0] = nir_src_for_ssa(one);
load->src[1] = nir_src_for_ssa(nir_iadd(&b, x_offset, y_offset));
nir_intrinsic_set_align(load, 4, 0);
nir_intrinsic_set_range_base(load, 0);
nir_intrinsic_set_range(load, ~0);
nir_builder_instr_insert(&b, &load->instr);
nir_store_var(&b, color_out,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment