mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +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>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40528>
This commit is contained in:
parent
c2fc7d49e8
commit
caea72cffc
1 changed files with 6 additions and 6 deletions
|
|
@ -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