Displaying 1 result from an estimated 1 matches for "nv50_pntc_replace".
2009 Sep 12
0
[PATCH 13/13] nv50: add support for point sprites
...v50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c
index cf57d5c..883c28b 100644
--- a/src/gallium/drivers/nv50/nv50_program.c
+++ b/src/gallium/drivers/nv50/nv50_program.c
@@ -2689,6 +2689,51 @@ nv50_fragprog_validate(struct nv50_context *nv50)
so_ref(NULL, &so);
}
+static void
+nv50_pntc_replace(struct nv50_context *nv50, uint32_t pntc[8], unsigned base)
+{
+ struct nv50_program *fp = nv50->fragprog;
+ struct nv50_program *vp = nv50->vertprog;
+ unsigned i, c, m = base;
+
+ /* XXX: This can't work correctly in all cases yet, we either
+ * have to create TGSI_SEMANTIC_PNTC or spr...