Revert "radv/gfx10: don't set array pitch field on images"
It introduces too many regressions.
This reverts commit 6d50dcd80f
.
This commit is contained in:
parent
556c299430
commit
361d549f87
|
@ -682,7 +682,7 @@ gfx10_make_texture_descriptor(struct radv_device *device,
|
|||
*/
|
||||
state[4] = S_00A010_DEPTH(type == V_008F1C_SQ_RSRC_IMG_3D ? depth - 1 : last_layer) |
|
||||
S_00A010_BASE_ARRAY(first_layer);
|
||||
state[5] = S_00A014_ARRAY_PITCH(0) |
|
||||
state[5] = S_00A014_ARRAY_PITCH(!!(type == V_008F1C_SQ_RSRC_IMG_3D)) |
|
||||
S_00A014_MAX_MIP(image->info.samples > 1 ?
|
||||
util_logbase2(image->info.samples) :
|
||||
image->info.levels - 1) |
|
||||
|
|
Loading…
Reference in New Issue