Mesa (master): nv: fix compile after the latest gs changes

Zack Rusin zack at kemper.freedesktop.org
Wed Jun 9 15:30:09 UTC 2010


Module: Mesa
Branch: master
Commit: db7ed20730a7329c902352cac99686cbcc6611bf
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=db7ed20730a7329c902352cac99686cbcc6611bf

Author: Zack Rusin <zack at kde.org>
Date:   Wed Jun  9 11:29:45 2010 -0400

nv: fix compile after the latest gs changes

---

 src/gallium/drivers/nv50/nv50_program.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c
index 97f938e..8cb1639 100644
--- a/src/gallium/drivers/nv50/nv50_program.c
+++ b/src/gallium/drivers/nv50/nv50_program.c
@@ -3924,7 +3924,7 @@ ctor_nv50_pc(struct nv50_pc *pc, struct nv50_program *p)
 		case TGSI_PROPERTY_GS_OUTPUT_PRIM:
 			p->cfg.prim_type = nv50_map_gs_output_prim(data[0]);
 			break;
-		case TGSI_PROPERTY_GS_MAX_VERTICES:
+		case TGSI_PROPERTY_GS_MAX_OUTPUT_VERTICES:
 			p->cfg.vert_count = data[0];
 			break;
 		default:




More information about the mesa-commit mailing list