mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 17:58:37 +12:00
rsx: Fix initial boolean state of m_textures_dirty and m_vertex_textures_dirty
This commit is contained in:
parent
28e9cade2c
commit
f3877d11e8
2 changed files with 4 additions and 4 deletions
|
@ -304,8 +304,8 @@ namespace rsx
|
||||||
};
|
};
|
||||||
|
|
||||||
m_rtts_dirty = true;
|
m_rtts_dirty = true;
|
||||||
memset(m_textures_dirty, -1, sizeof(m_textures_dirty));
|
m_textures_dirty.fill(true);
|
||||||
memset(m_vertex_textures_dirty, -1, sizeof(m_vertex_textures_dirty));
|
m_vertex_textures_dirty.fill(true);
|
||||||
|
|
||||||
m_graphics_state = pipeline_state::all_dirty;
|
m_graphics_state = pipeline_state::all_dirty;
|
||||||
|
|
||||||
|
|
|
@ -674,8 +674,8 @@ namespace rsx
|
||||||
u32 local_mem_size{0};
|
u32 local_mem_size{0};
|
||||||
|
|
||||||
bool m_rtts_dirty;
|
bool m_rtts_dirty;
|
||||||
bool m_textures_dirty[16];
|
std::array<bool, 16> m_textures_dirty;
|
||||||
bool m_vertex_textures_dirty[4];
|
std::array<bool, 4> m_vertex_textures_dirty;
|
||||||
bool m_framebuffer_state_contested = false;
|
bool m_framebuffer_state_contested = false;
|
||||||
rsx::framebuffer_creation_context m_current_framebuffer_context = rsx::framebuffer_creation_context::context_draw;
|
rsx::framebuffer_creation_context m_current_framebuffer_context = rsx::framebuffer_creation_context::context_draw;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue