Skip to contentSkip to conversation

nv40: Correct zsa so_new size

PATCH New Luca Barbieri 1 participant 1 message Jan 14, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nv40: Correct zsa so_new size

Triggered by Doom 3.

---
 src/gallium/drivers/nv40/nv40_state.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
src/gallium/drivers/nv40/nv40_state.c +1 -1
index ed0ca9e..4e3a61f 100644
@@ -445,7 +445,7 @@ nv40_depth_stencil_alpha_state_create(struct pipe_context *pipe,
 {
 	struct nv40_context *nv40 = nv40_context(pipe);
 	struct nv40_zsa_state *zsaso = CALLOC(1, sizeof(*zsaso));
-	struct nouveau_stateobj *so = so_new(4, 21, 0);
+	struct nouveau_stateobj *so = so_new(4, 22, 0);
 	struct nouveau_grobj *curie = nv40->screen->curie;
 
 	so_method(so, curie, NV40TCL_DEPTH_FUNC, 3);
Signature · 1 line
1.6.3.3