Skip to content

Commit

Permalink
Merge pull request #16085 from unknownbrackets/softgpu-vert
Browse files Browse the repository at this point in the history
softgpu: Cache reused indexed verts
  • Loading branch information
hrydgard authored Sep 23, 2022
2 parents 77085cf + 88b3b26 commit d743bfa
Show file tree
Hide file tree
Showing 4 changed files with 118 additions and 98 deletions.
2 changes: 1 addition & 1 deletion GPU/Software/BinManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ BinManager::~BinManager() {
}
}

void BinManager::UpdateState(bool throughMode) {
void BinManager::UpdateState() {
PROFILE_THIS_SCOPE("bin_state");
if (HasDirty(SoftDirty::PIXEL_ALL | SoftDirty::SAMPLER_ALL | SoftDirty::RAST_ALL)) {
if (states_.Full())
Expand Down
2 changes: 1 addition & 1 deletion GPU/Software/BinManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class BinManager {
BinManager();
~BinManager();

void UpdateState(bool throughMode);
void UpdateState();
void UpdateClut(const void *src);

const Rasterizer::RasterizerState &State() {
Expand Down
Loading

0 comments on commit d743bfa

Please sign in to comment.