diff options
author | Patrick Rudolph <[email protected]> | 2015-02-20 15:48:57 +0100 |
---|---|---|
committer | Axel Davy <[email protected]> | 2015-04-29 08:28:10 +0200 |
commit | 77a38d2088678fa756aca61592777f12e245ac0c (patch) | |
tree | 3320dbf7f2a2464cbc78132848a4954b1c6fb22e /src/glsl/ir_equals.cpp | |
parent | 716bef2643367d3696aa20ab7178cbe19bf78abc (diff) |
st/nine: NineDevice9_Clear skip fastpath for bigger depth-buffers
This adds an additional check to make sure the bound depth-buffer doesn't
exceed the rendertarget size when clearing depth and color buffer at once.
D3D9 clears only a rectangle with the same dimensions as the viewport, leaving
other parts of the depth-buffer intact.
This fixes failing WINE test visual.c:depth_buffer_test()
Signed-off-by: Patrick Rudolph <[email protected]>
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/glsl/ir_equals.cpp')
0 files changed, 0 insertions, 0 deletions