From ce7f006e66533da9f6db61e368273f1ffcc12ace Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 5 Apr 2003 00:38:09 +0000 Subject: fragment program named constants and named program parameters basically work now --- src/mesa/main/nvfragprog.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/main/nvfragprog.h') diff --git a/src/mesa/main/nvfragprog.h b/src/mesa/main/nvfragprog.h index 8d1ed13..2e9d829 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? */ -- cgit v1.1