mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-20 23:19:57 -04:00
Staged mirror uploads: device address table readers noted at every bind
gpl noted them in ssbo_info, which the bind skip and the kept descriptors leave out once they have warmed up: the submissions were taken as reading no guest memory again, and the grass and moss flickered again after a minute of play (every submit wait of a 2100-frame run ended without the GPU). gpa_reader looks once per pipeline for a table binding and notes the submission at each bind_resources and mo_desc. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -880,6 +880,8 @@ typedef struct {
|
||||
// mesh stages are compute pipelines of the same layout, vk_pipeline_mesh_emu), and set 0's compute-side template.
|
||||
int emu;
|
||||
VkDescriptorUpdateTemplate emu_tpl_c;
|
||||
int8_t gpa; // vk_exec_draw.c gpa_reader: 0 not known yet, 1 no binding of the device
|
||||
// address table, 2 one (its draws read guest memory as the GPU runs)
|
||||
} VkPipeInfo;
|
||||
// One descriptor of the packed array a descriptor update template reads (VkPipeInfo.tpl), 24 bytes for every type; the
|
||||
// bytes a type leaves unused are zero, so equal descriptors compare equal byte for byte.
|
||||
|
||||
Reference in New Issue
Block a user