diff --git a/hw/xbox/nv2a/pgraph/vk/draw.c b/hw/xbox/nv2a/pgraph/vk/draw.c index d7d63ac09b..121bea5d74 100644 --- a/hw/xbox/nv2a/pgraph/vk/draw.c +++ b/hw/xbox/nv2a/pgraph/vk/draw.c @@ -2009,8 +2009,6 @@ static void copy_remapped_attributes_to_inline_buffer(PGRAPHState *pg, PGRAPHVkState *r = pg->vk_renderer_state; StorageBuffer *buffer = &r->storage_buffers[BUFFER_VERTEX_INLINE_STAGING]; - r->vertex_buffer_inline = remap.attributes; - if (!remap.attributes) { return; } diff --git a/hw/xbox/nv2a/pgraph/vk/renderer.h b/hw/xbox/nv2a/pgraph/vk/renderer.h index 250b92f695..781cc8dc49 100644 --- a/hw/xbox/nv2a/pgraph/vk/renderer.h +++ b/hw/xbox/nv2a/pgraph/vk/renderer.h @@ -382,7 +382,6 @@ typedef struct PGRAPHVkState { VkVertexInputBindingDescription vertex_binding_descriptions[NV2A_VERTEXSHADER_ATTRIBUTES]; int num_active_vertex_binding_descriptions; hwaddr vertex_attribute_offsets[NV2A_VERTEXSHADER_ATTRIBUTES]; - uint16_t vertex_buffer_inline; QTAILQ_HEAD(, SurfaceBinding) surfaces; QTAILQ_HEAD(, SurfaceBinding) invalid_surfaces;