Use upstream batched texture windows and inactive interpreter hook seams

This commit is contained in:
Matthew Stanley
2026-10-03 23:51:13 -07:00
parent 11ff1107c1
commit 22883ef052
3 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -1366,7 +1366,7 @@ static const char *TEX_FS =
"}\n"
"int stable_texel(ivec2 p){\n"
" /* Clamp before wrap, so a footprint left of u=0 cannot pick up u=255. */\n"
" if ((u_twin.x | u_twin.y) == 0) p=clamp(p,v_limits.xy,v_limits.zw);\n"
" if ((v_twin & 1023) == 0) p=clamp(p,v_limits.xy,v_limits.zw);\n"
" return fetch_texel(p.x,p.y);\n"
"}\n"
"vec4 stable_bilinear(vec2 uv,int stp){\n"
@@ -20,6 +20,9 @@
#include <string.h>
#include "cpu_state.h"
/* No mod hooks are active in this interpreter fixture. */
uint32_t g_psx_mod_instruction_hooks = 0;
int interp_test_step(CPUState *cpu, uint32_t pc, uint32_t insn, uint32_t *next);
/* Clock, cache and device seams read on the charged path. */
@@ -20,6 +20,10 @@
#include <string.h>
#include "cpu_state.h"
/* No mod hooks are active in this interpreter fixture. */
uint32_t g_psx_mod_instruction_hooks = 0;
uint32_t g_psx_mod_function_entry_hooks = 0;
int dirty_ram_dispatch(CPUState *cpu, uint32_t addr, uint32_t stop_addr);
extern uint64_t g_dirty_ram_blocks_run; /* one per interpreter hand-back */