From 9bb90a3255c7494796d57eef3a73bc0b77a005d5 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Thu, 7 Jun 2018 13:54:15 -0400 Subject: [PATCH] freedreno/ir3: fix image dimensions offset copy-pasta fail from how SSBO sizes are handled. Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/ir3/ir3_nir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/freedreno/ir3/ir3_nir.c b/src/gallium/drivers/freedreno/ir3/ir3_nir.c index a3896a3071f..8f50b2741f0 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_nir.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_nir.c @@ -255,7 +255,7 @@ ir3_nir_scan_driver_consts(nir_shader *shader, if (layout->image_dims.mask & (1 << idx)) break; layout->image_dims.mask |= (1 << idx); - layout->ssbo_size.off[idx] = + layout->image_dims.off[idx] = layout->image_dims.count; layout->image_dims.count += 3; /* three const per */ break; -- 2.30.2