summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_fragprog.h
diff options
context:
space:
mode:
authorJerome Glisse <glisse@freedesktop.org>2006-01-20 18:24:44 +0000
committerJerome Glisse <glisse@freedesktop.org>2006-01-20 18:24:44 +0000
commitb42d5bcaff3cbc68461299aab52dbc27d859eee3 (patch)
tree63325d230352f1df1a458f94f249037315b0a731 /src/mesa/drivers/dri/r300/r300_fragprog.h
parent37e86254c12c7d7ab844ad772360b7c6bb25b209 (diff)
Fix swizzling table & add struct.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_fragprog.h')
-rw-r--r--src/mesa/drivers/dri/r300/r300_fragprog.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_fragprog.h b/src/mesa/drivers/dri/r300/r300_fragprog.h
index 2bcc23d514..d841af98a8 100644
--- a/src/mesa/drivers/dri/r300/r300_fragprog.h
+++ b/src/mesa/drivers/dri/r300/r300_fragprog.h
@@ -26,6 +26,12 @@ typedef struct _pfs_reg_t {
GLboolean valid:1;
} pfs_reg_t;
+typedef struct r300_fragment_program_swizzle {
+ GLuint length;
+ GLuint src[4];
+ GLuint inst[8];
+} r300_fragment_program_swizzle_t;
+
/* supported hw opcodes */
#define PFS_OP_MAD 0
#define PFS_OP_DP3 1