mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
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 commitcaea72cffc) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40752>
This commit is contained in:
parent
eb382e0cef
commit
874cba5743
2 changed files with 7 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue