Skip to content
Permalink
Browse files
Merge pull request #6444 from stenzek/d3d-bbox
D3D: Fix broken bounding box
  • Loading branch information
degasus committed Mar 19, 2018
2 parents 98b4716 + cb19ddd commit 523031f
Showing 1 changed file with 7 additions and 0 deletions.
@@ -144,6 +144,13 @@ void VertexManager::vFlush()

FramebufferManager::SetIntegerEFBRenderTarget(
m_current_pipeline_config.blending_state.logicopenable);
if (g_ActiveConfig.backend_info.bSupportsBBox && BoundingBox::active)
{
D3D::context->OMSetRenderTargetsAndUnorderedAccessViews(
D3D11_KEEP_RENDER_TARGETS_AND_DEPTH_STENCIL, nullptr, nullptr, 2, 1, &BBox::GetUAV(),
nullptr);
}

g_renderer->SetPipeline(m_current_pipeline_object);

ID3D11Buffer* vertexConstants = VertexShaderCache::GetConstantBuffer();

0 comments on commit 523031f

Please sign in to comment.