projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9fc9c1
)
freedreno/ir3: fix image dimensions offset
author
Rob Clark
<robdclark@gmail.com>
Thu, 7 Jun 2018 17:54:15 +0000
(13:54 -0400)
committer
Rob Clark
<robdclark@gmail.com>
Mon, 11 Jun 2018 13:06:03 +0000
(09:06 -0400)
copy-pasta fail from how SSBO sizes are handled.
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_nir.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/ir3/ir3_nir.c
b/src/gallium/drivers/freedreno/ir3/ir3_nir.c
index
a3896a3
..
8f50b27
100644
(file)
--- 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;