projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9116f94
)
nv20: disable depth writes in hw init
author
Pekka Paalanen
<pq@iki.fi>
Sat, 31 Jan 2009 21:28:38 +0000
(23:28 +0200)
committer
Pekka Paalanen
<pq@iki.fi>
Sat, 31 Jan 2009 21:41:23 +0000
(23:41 +0200)
Probably not necessary, but just in case. Depth registers point to the
color buffer, when there is no depth buffer.
Signed-off-by: Pekka Paalanen <pq@iki.fi>
src/gallium/drivers/nv20/nv20_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv20/nv20_context.c
b/src/gallium/drivers/nv20/nv20_context.c
index 877ef5dcefd7269498e8f9fb96167ecdeaf13cd4..e620166ff556ce00e6d2ea87081834e9b9d00fdc 100644
(file)
--- a/
src/gallium/drivers/nv20/nv20_context.c
+++ b/
src/gallium/drivers/nv20/nv20_context.c
@@
-263,7
+263,7
@@
static void nv20_init_hwctx(struct nv20_context *nv20)
BEGIN_RING(kelvin, NV20TCL_DEPTH_FUNC, 1);
OUT_RING (NV20TCL_DEPTH_FUNC_LESS);
BEGIN_RING(kelvin, NV20TCL_DEPTH_WRITE_ENABLE, 1);
- OUT_RING (
1
);
+ OUT_RING (
0
);
BEGIN_RING(kelvin, NV20TCL_DEPTH_TEST_ENABLE, 1);
OUT_RING (0);
BEGIN_RING(kelvin, NV20TCL_POLYGON_OFFSET_FACTOR, 2);