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: 8991e64641 ("pvr: Add a Vulkan driver for Imagination Technologies PowerVR Rogue GPUs")
Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Reviewed-by: Ella Stanforth <ella@igalia.com>
(cherry picked from commit caea72cffc)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40752>
This commit is contained in:
Icenowy Zheng 2026-03-20 15:26:51 +08:00 committed by Eric Engestrom
parent eb382e0cef
commit 874cba5743
2 changed files with 7 additions and 7 deletions

View file

@ -1874,7 +1874,7 @@
"description": "pvr: fix \"obb\" typo in oob_buffer_size when building vertex pds data",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "8991e646411b73c1e03278267c80758e921f2352",
"notes": null

View file

@ -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,