From caea72cffc1ef906927b44b51f5a7d361f588b19 Mon Sep 17 00:00:00 2001 From: Icenowy Zheng Date: Fri, 20 Mar 2026 15:26:51 +0800 Subject: [PATCH] pvr: fix "obb" typo in oob_buffer_size when building vertex pds data The ddmadt_oob_buffer_size structure to be filled is named `obb_buffer_size`, which is obviously a typo. Change to `oob_buffer_size` to fix the typo. Fixes: 8991e646411b ("pvr: Add a Vulkan driver for Imagination Technologies PowerVR Rogue GPUs") Signed-off-by: Icenowy Zheng Reviewed-by: Ella Stanforth Part-of: --- src/imagination/vulkan/pds/pvr_pipeline_pds.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/imagination/vulkan/pds/pvr_pipeline_pds.c b/src/imagination/vulkan/pds/pvr_pipeline_pds.c index 290d18bf2ef..53db316c48c 100644 --- a/src/imagination/vulkan/pds/pvr_pipeline_pds.c +++ b/src/imagination/vulkan/pds/pvr_pipeline_pds.c @@ -1094,15 +1094,15 @@ void pvr_pds_generate_vertex_primary_program( if (use_robust_vertex_fetch) { struct pvr_pds_const_map_entry_vertex_attr_ddmadt_oob_buffer_size - *obb_buffer_size; - obb_buffer_size = + *oob_buffer_size; + oob_buffer_size = pvr_prepare_next_pds_const_map_entry(&entry_write_state, - sizeof(*obb_buffer_size)); + sizeof(*oob_buffer_size)); - obb_buffer_size->type = + oob_buffer_size->type = PVR_PDS_CONST_MAP_ENTRY_TYPE_VERTEX_ATTR_DDMADT_OOB_BUFFER_SIZE; - obb_buffer_size->const_offset = const_base + 7; - obb_buffer_size->binding_index = vertex_dma->binding_index; + oob_buffer_size->const_offset = const_base + 7; + oob_buffer_size->binding_index = vertex_dma->binding_index; } else { literal_entry = pvr_prepare_next_pds_const_map_entry(&entry_write_state,