rsx: Fix initial boolean state of m_textures_dirty and m_vertex_textures_dirty
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user