mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 17:10:11 +01:00
freedreno/fdl: Fix gen8 buffer depth
Seems we need to program it to 1, otherwise all ssbo writes (and reads?) end up in index 0. Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38450>
This commit is contained in:
parent
5310672706
commit
222c005c01
1 changed files with 1 additions and 1 deletions
|
|
@ -569,7 +569,7 @@ fdl6_buffer_view_init(uint32_t *descriptor, enum pipe_format format,
|
|||
descriptor[0] = A8XX_TEX_MEMOBJ_0_BASE_LO(base_iova);
|
||||
descriptor[1] = A8XX_TEX_MEMOBJ_1_BASE_HI(base_iova >> 32) |
|
||||
A8XX_TEX_MEMOBJ_1_TYPE(A6XX_TEX_BUFFER) |
|
||||
A8XX_TEX_MEMOBJ_1_DEPTH(0);
|
||||
A8XX_TEX_MEMOBJ_1_DEPTH(1);
|
||||
descriptor[2] = A8XX_TEX_MEMOBJ_2_WIDTH(elements & ((1 << 15) - 1)) |
|
||||
A8XX_TEX_MEMOBJ_2_HEIGHT(elements >> 15) |
|
||||
A8XX_TEX_MEMOBJ_2_SAMPLES(MSAA_ONE);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue