Mesa (nv50-compiler): nv50: initialize edgeflag input index

Christoph Bumiller chrisbmr at kemper.freedesktop.org
Tue Aug 17 17:03:26 UTC 2010


Module: Mesa
Branch: nv50-compiler
Commit: 1bbbc8e0c8230d33cb1eae89cc47b5296edefc10
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1bbbc8e0c8230d33cb1eae89cc47b5296edefc10

Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Tue Aug 17 19:03:11 2010 +0200

nv50: initialize edgeflag input index

---

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

diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c
index 54cd36f..d47941d 100644
--- a/src/gallium/drivers/nv50/nv50_program.c
+++ b/src/gallium/drivers/nv50/nv50_program.c
@@ -484,6 +484,7 @@ nv50_prog_scan(struct nv50_translation_info *ti)
    struct tgsi_parse_context parse;
    int ret;
 
+   p->vp.edgeflag = 0x40;
    p->vp.psiz = 0x40;
    p->vp.bfc[0] = 0x40;
    p->vp.bfc[1] = 0x40;




More information about the mesa-commit mailing list