Skip to content

Commit

Permalink
Merge branch 'dx12-backend-2' of https://github.com/doodlum/skyrim-co…
Browse files Browse the repository at this point in the history
…mmunity-shaders into dx12-backend-2
  • Loading branch information
doodlum committed Dec 28, 2024
2 parents 875d501 + 2acefa4 commit e1d7d7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/Brixelizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,7 @@ void Brixelizer::CreatedWrappedResource(D3D11_TEXTURE2D_DESC a_texDesc, Brixeliz
}

if (a_texDesc.BindFlags & D3D11_BIND_UNORDERED_ACCESS) {
if (a_texDesc.ArraySize > 1)
{
if (a_texDesc.ArraySize > 1) {
D3D11_UNORDERED_ACCESS_VIEW_DESC uavDesc = {};
uavDesc.Format = a_texDesc.Format;
uavDesc.ViewDimension = D3D11_UAV_DIMENSION_TEXTURE2DARRAY;
Expand Down
2 changes: 1 addition & 1 deletion src/Brixelizer/BrixelizerGIContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ void BrixelizerGIContext::CopyHistoryResources()
context->CopyResource(historyDepth.resource11, depth.resource11);
context->CopyResource(historyNormal.resource11, normal.resource11);
context->CopyResource(prevLitOutput.resource11, main.texture);

auto& cubemap = renderer->GetRendererData().cubemapRenderTargets[RE::RENDER_TARGETS_CUBEMAP::kREFLECTIONS];
context->CopyResource(environmentMap.resource11, cubemap.texture);
}
Expand Down

0 comments on commit e1d7d7b

Please sign in to comment.