Skip to content

Commit

Permalink
A couple of D3D11 fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Sep 19, 2020
1 parent e3b0dcc commit 7ed1ade
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion GPU/D3D11/GPU_D3D11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ void GPU_D3D11::CheckGPUFeatures() {
features |= GPU_SUPPORTS_TEXTURE_FLOAT;
features |= GPU_SUPPORTS_INSTANCE_RENDERING;
features |= GPU_SUPPORTS_TEXTURE_LOD_CONTROL;
features |= GPU_SUPPORTS_FRAMEBUFFER_BLIT;

uint32_t fmt4444 = draw_->GetDataFormatSupport(Draw::DataFormat::A4R4G4B4_UNORM_PACK16);
uint32_t fmt1555 = draw_->GetDataFormatSupport(Draw::DataFormat::A1R5G5B5_UNORM_PACK16);
Expand Down
1 change: 1 addition & 0 deletions GPU/D3D11/TextureCacheD3D11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ void TextureCacheD3D11::ApplyTextureFramebuffer(VirtualFramebuffer *framebuffer,
context_->PSSetSamplers(0, 1, &stockD3D11.samplerPoint2DWrap);
shaderApply.Shade();

context_->PSSetShaderResources(0, 1, &nullTexture); // Make D3D11 validation happy. Really of no consequence since we rebind anyway.
framebufferManagerD3D11_->RebindFramebuffer("RebindFramebuffer - ApplyTextureFramebuffer");
draw_->BindFramebufferAsTexture(depalFBO, 0, Draw::FB_COLOR_BIT, 0);

Expand Down
2 changes: 1 addition & 1 deletion assets/lang
Submodule lang updated 3 files
+22 −22 es_LA.ini
+22 −24 ja_JP.ini
+2 −33 th_TH.ini

0 comments on commit 7ed1ade

Please sign in to comment.