Skip to content

Commit

Permalink
Merge pull request #17807 from hrydgard/re-enable-framebuffer-fetch
Browse files Browse the repository at this point in the history
Re-enable framebuffer fetch for blend where available.
  • Loading branch information
hrydgard authored Jul 30, 2023
2 parents c20f508 + 6da6de8 commit 47bbdda
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions GPU/GPUCommonHW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,10 @@ u32 GPUCommonHW::CheckGPUFeatures() const {
features |= GPU_USE_VS_RANGE_CULLING;
}

if (draw_->GetDeviceCaps().framebufferFetchSupported) {
features |= GPU_USE_FRAMEBUFFER_FETCH;
}

if (draw_->GetShaderLanguageDesc().bitwiseOps) {
features |= GPU_USE_LIGHT_UBERSHADER;
}
Expand Down

0 comments on commit 47bbdda

Please sign in to comment.