aboutsummaryrefslogtreecommitdiffstats
path: root/steamvr/vrcompositor
diff options
context:
space:
mode:
authorTomasz Kramkowski <tomasz@kramkow.ski>2026-11-20 01:06:42 +0000
committerTomasz Kramkowski <tomasz@kramkow.ski>2026-11-20 01:06:42 +0000
commit324b340445da5a790b95daac96fe6c59fbfeebbb (patch)
treeff3d7b5bc8465fd77dbc08cae5344afb2cf5612b /steamvr/vrcompositor
parentaed234e1060070348fe3c3f99bef4533b3ae2c58 (diff)
downloadsteamvr-patches-324b340445da5a790b95daac96fe6c59fbfeebbb.tar.gz
steamvr-patches-324b340445da5a790b95daac96fe6c59fbfeebbb.tar.xz
steamvr-patches-324b340445da5a790b95daac96fe6c59fbfeebbb.zip
steamvr 2.19.4 (26793788)
Valve has fixed a bunch of things to do with streaming performance. A couple of smaller things remain in that area. The unsequenced accesses to eye textures produced by a VR application are still there and will still cause weird visual stutters especially when an application is struggling to produce frames quickly. The broken shader descriptors are still there, and I still have no idea what these are used for, or if these cause any actual issues... Seems like valve might just be looking at my patches for ideas on how to fix things, which is good. Maybe I'll get around to tracking down those vrcompositor shut-down crashes, as it seems I'm starting to run out of significant bugs.
Diffstat (limited to 'steamvr/vrcompositor')
-rw-r--r--steamvr/vrcompositor/vulkan-wait.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/steamvr/vrcompositor/vulkan-wait.c b/steamvr/vrcompositor/vulkan-wait.c
index 8b915f4..248d203 100644
--- a/steamvr/vrcompositor/vulkan-wait.c
+++ b/steamvr/vrcompositor/vulkan-wait.c
@@ -29,17 +29,17 @@ struct Renderer {
uint32_t current_queue;
unsigned char unknown_23c[4];
struct NativeDevice queues[2];
- unsigned char unknown_260[0x10a0 - 0x260];
+ unsigned char unknown_260[0x1100 - 0x260];
SemaphoreEntry *signals;
SemaphoreEntry *signals_end;
- unsigned char unknown_10b0[0x1520 - 0x10b0];
+ unsigned char unknown_1110[0x15c8 - 0x1110];
pthread_mutex_t queue_mutex;
};
ASSERT_OFFSET(struct Renderer, current_queue, 0x238);
ASSERT_OFFSET(struct Renderer, queues, 0x240);
-ASSERT_OFFSET(struct Renderer, signals, 0x10a0);
-ASSERT_OFFSET(struct Renderer, signals_end, 0x10a8);
-ASSERT_OFFSET(struct Renderer, queue_mutex, 0x1520);
+ASSERT_OFFSET(struct Renderer, signals, 0x1100);
+ASSERT_OFFSET(struct Renderer, signals_end, 0x1108);
+ASSERT_OFFSET(struct Renderer, queue_mutex, 0x15c8);
void wait_for_input(
struct Renderer *renderer, struct Texture *texture, uint32_t target_queue
@@ -82,7 +82,7 @@ void wait_for_input(
pthread_mutex_unlock(&renderer->queue_mutex);
}
-// This hooks in via a function @ 0x431380 (method of CVulkanVRRenderer) which
+// This hooks in via a function @ 0x434d30 (method of CVulkanVRRenderer) which
// is a called to "prepare" an image for use by the GPU. It changes its layout
// and queue if needed. The important part is that it gets called for images a
// shader is about to read which are the problematic cases which cause stutters.