Merge pull request #236 from magumagu/d3d11-fix-peekz
D3D11: Use appropriate shader for PEEK_Z.
This commit is contained in:
commit
a40ea4e26a
|
@ -391,7 +391,7 @@ u32 Renderer::AccessEFB(EFBAccessType type, u32 x, u32 y, u32 poke_data)
|
||||||
&RectToLock,
|
&RectToLock,
|
||||||
Renderer::GetTargetWidth(),
|
Renderer::GetTargetWidth(),
|
||||||
Renderer::GetTargetHeight(),
|
Renderer::GetTargetHeight(),
|
||||||
PixelShaderCache::GetDepthMatrixProgram(true),
|
PixelShaderCache::GetColorCopyProgram(true),
|
||||||
VertexShaderCache::GetSimpleVertexShader(),
|
VertexShaderCache::GetSimpleVertexShader(),
|
||||||
VertexShaderCache::GetSimpleInputLayout());
|
VertexShaderCache::GetSimpleInputLayout());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue