summaryrefslogtreecommitdiff
path: root/src/mesa/shader/nvfragprog.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-12-18 16:18:00 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-12-18 16:18:00 +0000
commit2a5afe3ab8d4c3624ed72b99a11b6a9017078d1c (patch)
tree77c8b5ba0ac5fa4f941f060c3e4252ecf20b1153 /src/mesa/shader/nvfragprog.h
parent6cec977773c87ac95ca66089eb50850c9f0a27ed (diff)
Added PRINT instruction for GL_NV_fragment_program.
Diffstat (limited to 'src/mesa/shader/nvfragprog.h')
-rw-r--r--src/mesa/shader/nvfragprog.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/shader/nvfragprog.h b/src/mesa/shader/nvfragprog.h
index 8f02f22877..ddfc4993ed 100644
--- a/src/mesa/shader/nvfragprog.h
+++ b/src/mesa/shader/nvfragprog.h
@@ -1,8 +1,8 @@
/*
* Mesa 3-D graphics library
- * Version: 5.1
+ * Version: 6.3
*
- * Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -117,6 +117,7 @@ enum fp_opcode {
FP_OPCODE_UP4UB, /* NV_f_p only */
FP_OPCODE_X2D, /* NV_f_p only - 2d mat mul */
FP_OPCODE_XPD, /* ARB_f_p only - cross product */
+ FP_OPCODE_PRINT, /* Mesa only */
FP_OPCODE_END /* private opcode */
};
@@ -158,6 +159,7 @@ struct fp_instruction
#if FEATURE_MESA_program_debug
GLint StringPos;
#endif
+ void *Data; /* some arbitrary data, only used for PRINT instruction now */
};