mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12: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:
|
public:
|
||||||
bitmask_t() = default;
|
bitmask_t() = default;
|
||||||
|
|
||||||
|
bitmask_type load() const
|
||||||
|
{
|
||||||
|
return m_data;
|
||||||
|
}
|
||||||
|
|
||||||
bool operator & (bitmask_type mask) const
|
bool operator & (bitmask_type mask) const
|
||||||
{
|
{
|
||||||
return !!(m_data & mask);
|
return !!(m_data & mask);
|
||||||
|
|
|
@ -649,7 +649,7 @@ void GLGSRender::emit_geometry(u32 sub_index)
|
||||||
void GLGSRender::begin()
|
void GLGSRender::begin()
|
||||||
{
|
{
|
||||||
// Save shader state now before prefetch and loading happens
|
// 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();
|
rsx::thread::begin();
|
||||||
|
|
||||||
|
|
|
@ -923,7 +923,7 @@ void VKGSRender::emit_geometry(u32 sub_index)
|
||||||
void VKGSRender::begin()
|
void VKGSRender::begin()
|
||||||
{
|
{
|
||||||
// Save shader state now before prefetch and loading happens
|
// 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();
|
rsx::thread::begin();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue