mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
nv50,nvc0: disable depth bounds test on blit
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Cc: "11.0" <mesa-stable@lists.freedesktop.org>
This commit is contained in:
parent
3a1ab23480
commit
abbf05cfc2
2 changed files with 3 additions and 0 deletions
|
|
@ -1003,6 +1003,8 @@ nv50_blitctx_prepare_state(struct nv50_blitctx *blit)
|
||||||
/* zsa state */
|
/* zsa state */
|
||||||
BEGIN_NV04(push, NV50_3D(DEPTH_TEST_ENABLE), 1);
|
BEGIN_NV04(push, NV50_3D(DEPTH_TEST_ENABLE), 1);
|
||||||
PUSH_DATA (push, 0);
|
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);
|
BEGIN_NV04(push, NV50_3D(STENCIL_ENABLE), 1);
|
||||||
PUSH_DATA (push, 0);
|
PUSH_DATA (push, 0);
|
||||||
BEGIN_NV04(push, NV50_3D(ALPHA_TEST_ENABLE), 1);
|
BEGIN_NV04(push, NV50_3D(ALPHA_TEST_ENABLE), 1);
|
||||||
|
|
|
||||||
|
|
@ -887,6 +887,7 @@ nvc0_blitctx_prepare_state(struct nvc0_blitctx *blit)
|
||||||
|
|
||||||
/* zsa state */
|
/* zsa state */
|
||||||
IMMED_NVC0(push, NVC0_3D(DEPTH_TEST_ENABLE), 0);
|
IMMED_NVC0(push, NVC0_3D(DEPTH_TEST_ENABLE), 0);
|
||||||
|
IMMED_NVC0(push, NVC0_3D(DEPTH_BOUNDS_EN), 0);
|
||||||
IMMED_NVC0(push, NVC0_3D(STENCIL_ENABLE), 0);
|
IMMED_NVC0(push, NVC0_3D(STENCIL_ENABLE), 0);
|
||||||
IMMED_NVC0(push, NVC0_3D(ALPHA_TEST_ENABLE), 0);
|
IMMED_NVC0(push, NVC0_3D(ALPHA_TEST_ENABLE), 0);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue