Permalink
Browse files

GPU: Cleanup outdated flushbefore code.

Backends didn't match.
  • Loading branch information...
unknownbrackets committed Sep 21, 2018
1 parent e90ffdb commit cd0662c065456f267d585eaf6e8877ec907e1bf2
Showing with 2 additions and 2 deletions.
  1. +1 −1 GPU/D3D11/GPU_D3D11.cpp
  2. +1 −1 GPU/Vulkan/GPU_Vulkan.cpp
View
@@ -282,7 +282,7 @@ void GPU_D3D11::FinishDeferred() {
inline void GPU_D3D11::CheckFlushOp(int cmd, u32 diff) {
const u8 cmdFlags = cmdInfo_[cmd].flags;
if ((cmdFlags & FLAG_FLUSHBEFORE) || (diff && (cmdFlags & FLAG_FLUSHBEFOREONCHANGE))) {
if (diff && (cmdFlags & FLAG_FLUSHBEFOREONCHANGE)) {
if (dumpThisFrame_) {
NOTICE_LOG(G3D, "================ FLUSH ================");
}
@@ -425,7 +425,7 @@ void GPU_Vulkan::FinishDeferred() {
inline void GPU_Vulkan::CheckFlushOp(int cmd, u32 diff) {
const u8 cmdFlags = cmdInfo_[cmd].flags;
if ((cmdFlags & FLAG_FLUSHBEFORE) || (diff && (cmdFlags & FLAG_FLUSHBEFOREONCHANGE))) {
if (diff && (cmdFlags & FLAG_FLUSHBEFOREONCHANGE)) {
if (dumpThisFrame_) {
NOTICE_LOG(G3D, "================ FLUSH ================");
}

0 comments on commit cd0662c

Please sign in to comment.