summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/nvfragprog.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-04-05 00:38:09 +0000
committerBrian Paul <[email protected]>2003-04-05 00:38:09 +0000
commitce7f006e66533da9f6db61e368273f1ffcc12ace (patch)
treeb804a1077ea431d7ac4cca64232752ebef83e097 /src/mesa/main/nvfragprog.h
parent738318bb75dea8dac4465f53850987f6062a732d (diff)
fragment program named constants and named program parameters basically work now
Diffstat (limited to 'src/mesa/main/nvfragprog.h')
-rw-r--r--src/mesa/main/nvfragprog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/nvfragprog.h b/src/mesa/main/nvfragprog.h
index 8d1ed13f217..2e9d82975c3 100644
--- a/src/mesa/main/nvfragprog.h
+++ b/src/mesa/main/nvfragprog.h
@@ -1,4 +1,4 @@
-/* $Id: nvfragprog.h,v 1.5 2003/03/15 17:33:26 brianp Exp $ */
+/* $Id: nvfragprog.h,v 1.6 2003/04/05 00:38:09 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -134,8 +134,8 @@ enum fp_opcode {
struct fp_src_register
{
- GLint RegType; /* constant, param, temp or attribute register */
GLint Register; /* or the offset from the address register */
+ GLboolean IsParameter; /* true if register refers to a param or constant */
GLuint Swizzle[4];
GLboolean NegateBase; /* negate before absolute value? */
GLboolean Abs; /* take absolute value? */