From 235db57f0ee15c05aee4e75d853b39a3dab9faee Mon Sep 17 00:00:00 2001 From: kd-11 Date: Thu, 17 Dec 2020 01:30:33 +0300 Subject: [PATCH] rsx: Do not reset vertex program texture mask when updating ucode analysis - Fixes incorrect texture type detection in some games after program env/ucode separation --- rpcs3/Emu/RSX/RSXThread.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/rpcs3/Emu/RSX/RSXThread.cpp b/rpcs3/Emu/RSX/RSXThread.cpp index 9cf8161011..c27abf1f7e 100644 --- a/rpcs3/Emu/RSX/RSXThread.cpp +++ b/rpcs3/Emu/RSX/RSXThread.cpp @@ -1540,7 +1540,6 @@ namespace rsx current_vertex_program.rsx_vertex_inputs.clear(); current_vertex_program.data.reserve(512 * 4); current_vertex_program.jump_table.clear(); - current_vertex_program.texture_dimensions = 0; current_vp_metadata = program_hash_util::vertex_program_utils::analyse_vertex_program (