diff options
author | Ilia Mirkin <[email protected]> | 2015-08-22 23:59:50 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-08-23 01:39:29 -0400 |
commit | abbf05cfc2bea0787bcf710ef984d73ee8ba8f9e (patch) | |
tree | c852cab649e7d1f5be2b0e0d5c1ff2472ba60e00 /src/gallium/drivers/nouveau/nv50 | |
parent | 3a1ab2348050fd32f41553b9febfd9972b5761aa (diff) |
nv50,nvc0: disable depth bounds test on blit
Signed-off-by: Ilia Mirkin <[email protected]>
Cc: "11.0" <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nv50')
-rw-r--r-- | src/gallium/drivers/nouveau/nv50/nv50_surface.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_surface.c b/src/gallium/drivers/nouveau/nv50/nv50_surface.c index 77df5ff1ac1..f1b0bd68a60 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_surface.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_surface.c @@ -1003,6 +1003,8 @@ nv50_blitctx_prepare_state(struct nv50_blitctx *blit) /* zsa state */ BEGIN_NV04(push, NV50_3D(DEPTH_TEST_ENABLE), 1); PUSH_DATA (push, 0); + BEGIN_NV04(push, NV50_3D(DEPTH_BOUNDS_EN), 1); + PUSH_DATA (push, 0); BEGIN_NV04(push, NV50_3D(STENCIL_ENABLE), 1); PUSH_DATA (push, 0); BEGIN_NV04(push, NV50_3D(ALPHA_TEST_ENABLE), 1); |