Files
psxrecomp/runtime/tests/gpu_hd_texture_stubs.inc
Matthew Stanley 0662437c56 Merge commit '2b517f3a0529742647b4c12c1a6f3d4818b29d84' into integrate/pr558plus-fixes-20261008
# Conflicts:
#	runtime/include/gpu_render.h
#	runtime/src/gpu_gl_renderer.c
#	runtime/src/gpu_render.c
#	runtime/tests/gpu_hd_texture_stubs.inc
#	runtime/tests/test_gl_hd_texture_pack.c
2026-10-08 10:59:40 -07:00

18 lines
801 B
C++

/* Existing GL fixtures deliberately run without any external pack. The HD
* fixture links the real session adapter instead. */
#ifndef PSX_TEST_HD_TEXTURE_PACK
int gpu_hd_textures_acquire_draw(uint16_t tp, uint16_t cx, uint16_t cy,
const int limits[4], uint32_t window, int semi, GpuHdTextureImage* image) {
(void)tp; (void)cx; (void)cy; (void)limits; (void)window; (void)semi;
memset(image, 0, sizeof(*image)); return 0;
}
void gpu_hd_textures_release_image(GpuHdTextureImage* image) {
memset(image, 0, sizeof(*image));
}
void gpu_hd_textures_note_applied(void) {}
void gpu_hd_textures_reset_tracking(void) {}
void gpu_hd_textures_restage(void) {}
void gpu_hd_textures_bind_vram(const uint16_t* vram) { (void)vram; }
void gpu_hd_textures_suppress_dumps(int on) { (void)on; }
#endif