pvr: Remove component_alignment

We don't support output register subdivision so no need to keep
track of how many bytes have been allocated within the output regs.

Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21386>
This commit is contained in:
Karmjit Mahil
2023-01-23 23:54:06 +00:00
committed by Marge Bot
parent 0244719a12
commit 9e2572903b
2 changed files with 0 additions and 6 deletions
-5
View File
@@ -63,11 +63,6 @@ struct usc_mrt_desc {
*/
uint32_t intermediate_size;
/* Number of bytes allocated for each component in the output registers (as
* opposed to the pixel format).
*/
uint32_t component_alignment;
/* Mask of the bits from each dword which are read by the PBE. */
uint32_t valid_mask[PVR_USC_RENDER_TARGET_MAXIMUM_SIZE_IN_DWORDS];
-1
View File
@@ -666,7 +666,6 @@ VkResult pvr_CreateRenderPass2(VkDevice _device,
mrt_resources[last].reg.offset = 0U;
mrt_resources[last].intermediate_size = 4U;
mrt_resources[last].mrt_desc.intermediate_size = 4U;
mrt_resources[last].mrt_desc.component_alignment = 4U;
mrt_resources[last].mrt_desc.priority = 0U;
mrt_resources[last].mrt_desc.valid_mask[0U] = ~0;
mrt_resources[last].mrt_desc.valid_mask[1U] = ~0;