aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/fdl/freedreno_layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/freedreno/fdl/freedreno_layout.c')
-rw-r--r--src/freedreno/fdl/freedreno_layout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/freedreno/fdl/freedreno_layout.c b/src/freedreno/fdl/freedreno_layout.c
index 57f6388b69a..0c50608ff15 100644
--- a/src/freedreno/fdl/freedreno_layout.c
+++ b/src/freedreno/fdl/freedreno_layout.c
@@ -36,6 +36,7 @@ fdl_layout_buffer(struct fdl_layout *layout, uint32_t size)
layout->height0 = 1;
layout->depth0 = 1;
layout->cpp = 1;
+ layout->cpp_shift = 0;
layout->size = size;
layout->format = PIPE_FORMAT_R8_UINT;
layout->nr_samples = 1;