mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 12:32:43 +00:00
Small RSX fixes
- Fixed constants offset in FP decompiler. - Fixed vertex textures initialization.
This commit is contained in:
parent
7da5714fd9
commit
482d470bf2
@ -104,7 +104,7 @@ std::string GLFragmentDecompilerThread::AddConst()
|
||||
|
||||
auto data = vm::ptr<u32>::make(m_addr + m_size + m_offset);
|
||||
|
||||
m_offset += 4 * 4;
|
||||
m_offset = 2 * 4 * sizeof(u32);
|
||||
u32 x = GetData(data[0]);
|
||||
u32 y = GetData(data[1]);
|
||||
u32 z = GetData(data[2]);
|
||||
|
@ -1978,7 +1978,7 @@ void GLGSRender::ExecCMD()
|
||||
m_gl_vertex_textures[i].Create();
|
||||
m_gl_vertex_textures[i].Bind();
|
||||
checkForGlError(fmt::Format("m_gl_vertex_textures[%d].Bind", i));
|
||||
m_program.SetTex(i);
|
||||
m_program.SetVTex(i);
|
||||
m_gl_vertex_textures[i].Init(m_vertex_textures[i]);
|
||||
checkForGlError(fmt::Format("m_gl_vertex_textures[%d].Init", i));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user