Displaying 1 result from an estimated 1 matches for "0caf4b4".
2009 Jun 21
0
[PATCH] nv50: add support for two-sided lighting
...ers/nv50/nv50_program.h
@@ -39,6 +39,7 @@ struct nv50_program {
unsigned high_result;
struct {
unsigned attr[2];
+ unsigned bcol;
} vp;
struct {
unsigned regs[4];
diff --git a/src/gallium/drivers/nv50/nv50_state_validate.c b/src/gallium/drivers/nv50/nv50_state_validate.c
index 0caf4b4..aa02947 100644
--- a/src/gallium/drivers/nv50/nv50_state_validate.c
+++ b/src/gallium/drivers/nv50/nv50_state_validate.c
@@ -199,6 +199,9 @@ nv50_state_validate(struct nv50_context *nv50)
if (nv50->dirty & (NV50_NEW_FRAGPROG | NV50_NEW_FRAGPROG_CB))
nv50_fragprog_validate(nv50);
+ if...