Maxwell3D: Corrections and refactors to MME instance refactor
This commit is contained in:
parent
433e764bb0
commit
68f5aff64f
4 changed files with 46 additions and 44 deletions
|
@ -749,13 +749,9 @@ bool RasterizerOpenGL::DrawBatch(bool is_indexed) {
|
|||
|
||||
MICROPROFILE_SCOPE(OpenGL_Drawing);
|
||||
|
||||
auto& maxwell3d = system.GPU().Maxwell3D();
|
||||
if (!maxwell3d.ShouldExecute()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
DrawPrelude();
|
||||
|
||||
auto& maxwell3d = system.GPU().Maxwell3D();
|
||||
const auto& regs = maxwell3d.regs;
|
||||
const auto current_instance = maxwell3d.state.current_instance;
|
||||
DrawParams draw_call{};
|
||||
|
@ -785,13 +781,9 @@ bool RasterizerOpenGL::DrawMultiBatch(bool is_indexed) {
|
|||
|
||||
MICROPROFILE_SCOPE(OpenGL_Drawing);
|
||||
|
||||
auto& maxwell3d = system.GPU().Maxwell3D();
|
||||
if (!maxwell3d.ShouldExecute()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
DrawPrelude();
|
||||
|
||||
auto& maxwell3d = system.GPU().Maxwell3D();
|
||||
const auto& regs = maxwell3d.regs;
|
||||
const auto& draw_setup = maxwell3d.mme_draw;
|
||||
DrawParams draw_call{};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue