mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
rsx: Fix shader interpreter
- It broke ages ago
This commit is contained in:
parent
1671922f7e
commit
d13cf0e29a
3 changed files with 7 additions and 2 deletions
|
@ -107,6 +107,11 @@ namespace rsx
|
|||
public:
|
||||
bitmask_t() = default;
|
||||
|
||||
bitmask_type load() const
|
||||
{
|
||||
return m_data;
|
||||
}
|
||||
|
||||
bool operator & (bitmask_type mask) const
|
||||
{
|
||||
return !!(m_data & mask);
|
||||
|
|
|
@ -649,7 +649,7 @@ void GLGSRender::emit_geometry(u32 sub_index)
|
|||
void GLGSRender::begin()
|
||||
{
|
||||
// Save shader state now before prefetch and loading happens
|
||||
m_interpreter_state = (m_graphics_state & rsx::pipeline_state::invalidate_pipeline_bits);
|
||||
m_interpreter_state = (m_graphics_state.load() & rsx::pipeline_state::invalidate_pipeline_bits);
|
||||
|
||||
rsx::thread::begin();
|
||||
|
||||
|
|
|
@ -923,7 +923,7 @@ void VKGSRender::emit_geometry(u32 sub_index)
|
|||
void VKGSRender::begin()
|
||||
{
|
||||
// Save shader state now before prefetch and loading happens
|
||||
m_interpreter_state = (m_graphics_state & rsx::pipeline_state::invalidate_pipeline_bits);
|
||||
m_interpreter_state = (m_graphics_state.load() & rsx::pipeline_state::invalidate_pipeline_bits);
|
||||
|
||||
rsx::thread::begin();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue