mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 07:35:41 +00:00
GPU/D3D11: Use linear sampling for VRAM write replacement blit
This commit is contained in:
parent
fc164ce021
commit
d432accf81
|
@ -779,6 +779,7 @@ bool GPU_HW_D3D11::BlitVRAMReplacementTexture(const TextureReplacementTexture* t
|
|||
|
||||
m_context->OMSetDepthStencilState(m_depth_disabled_state.Get(), 0);
|
||||
m_context->PSSetShaderResources(0, 1, m_vram_replacement_texture.GetD3DSRVArray());
|
||||
m_context->PSSetSamplers(0, 1, m_linear_sampler_state.GetAddressOf());
|
||||
SetViewportAndScissor(dst_x, dst_y, width, height);
|
||||
|
||||
const float uniforms[] = {0.0f, 0.0f, 1.0f, 1.0f};
|
||||
|
|
Loading…
Reference in a new issue