summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/ir3
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2018-06-07 13:54:15 -0400
committerRob Clark <[email protected]>2018-06-11 09:06:03 -0400
commit9bb90a3255c7494796d57eef3a73bc0b77a005d5 (patch)
tree314b7e7ffa3098fa1cf5f1af2fb2cc4035357ed7 /src/gallium/drivers/freedreno/ir3
parente9fc9c16c9d0e3c2a8688e06ab33c35f28671ec5 (diff)
freedreno/ir3: fix image dimensions offset
copy-pasta fail from how SSBO sizes are handled. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_nir.c2
1 files changed, 1 insertions, 1 deletions
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;