diff --git a/rpcs3/Emu/RSX/NV47/HW/common.cpp b/rpcs3/Emu/RSX/NV47/HW/common.cpp index 558a5c8309..60ea4ff632 100644 --- a/rpcs3/Emu/RSX/NV47/HW/common.cpp +++ b/rpcs3/Emu/RSX/NV47/HW/common.cpp @@ -62,7 +62,7 @@ namespace rsx return vm::cast(get_address(offset, location)); } - void set_fragment_texture_dirty_bit(rsx::context* ctx, u32 arg, u32 index, bool /*is_shader_config*/) + void set_fragment_texture_dirty_bit(rsx::context* ctx, u32 arg, u32 index) { if (REGS(ctx)->latch == arg) { diff --git a/rpcs3/Emu/RSX/NV47/HW/common.h b/rpcs3/Emu/RSX/NV47/HW/common.h index 0b22906ac9..e72565e488 100644 --- a/rpcs3/Emu/RSX/NV47/HW/common.h +++ b/rpcs3/Emu/RSX/NV47/HW/common.h @@ -17,7 +17,7 @@ namespace rsx void push_draw_parameter_change(rsx::context* ctx, rsx::command_barrier_type type, u32 reg, u32 arg0, u32 arg1 = 0u, u32 index = 0u); - void set_fragment_texture_dirty_bit(rsx::context* ctx, u32 arg, u32 index, bool is_shader_config); + void set_fragment_texture_dirty_bit(rsx::context* ctx, u32 arg, u32 index); void set_texture_configuration_command(rsx::context* ctx, u32 reg); diff --git a/rpcs3/Emu/RSX/NV47/HW/nv4097.h b/rpcs3/Emu/RSX/NV47/HW/nv4097.h index 4dff809123..7d338a075c 100644 --- a/rpcs3/Emu/RSX/NV47/HW/nv4097.h +++ b/rpcs3/Emu/RSX/NV47/HW/nv4097.h @@ -221,15 +221,6 @@ namespace rsx } }; - template - struct set_texture_dirty_bit_texture_config - { - static void impl(context* ctx, u32 /*reg*/, u32 arg) - { - util::set_fragment_texture_dirty_bit(ctx, arg, index, true); - } - }; - template struct set_texture_offset { @@ -241,11 +232,11 @@ namespace rsx }; template - struct set_texture_dirty_bit_location_and_area + struct set_fragment_texture_dirty_bit { static void impl(context* ctx, u32 /*reg*/, u32 arg) { - util::set_fragment_texture_dirty_bit(ctx, arg, index, false); + util::set_fragment_texture_dirty_bit(ctx, arg, index); } }; diff --git a/rpcs3/Emu/RSX/rsx_methods.cpp b/rpcs3/Emu/RSX/rsx_methods.cpp index babcc878ae..5a8e9e3fcc 100644 --- a/rpcs3/Emu/RSX/rsx_methods.cpp +++ b/rpcs3/Emu/RSX/rsx_methods.cpp @@ -1663,16 +1663,16 @@ namespace rsx bind(NV4097_SET_SURFACE_PITCH_D, nv4097::set_surface_dirty_bit); bind(NV4097_SET_SURFACE_PITCH_Z, nv4097::set_surface_dirty_bit); bind(NV4097_SET_WINDOW_OFFSET, nv4097::set_surface_dirty_bit); - bind_range(); - bind_range(); - bind_range(); - bind_range(); - bind_range(); - bind_range(); - bind_range(); - bind_range(); - bind_range(); - bind_range(); + bind_range(); + bind_range(); + bind_range(); + bind_range(); + bind_range(); + bind_range(); + bind_range(); + bind_range(); + bind_range(); + bind_range(); bind_range(); bind_range(); bind_range();