summaryrefslogtreecommitdiff
path: root/src/mesa/shader/prog_instruction.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-11-11 10:47:10 -0700
committerBrian Paul <brian.paul@tungstengraphics.com>2008-11-11 14:35:39 -0700
commitf4361540f8dd3016571523863b33481cba7a0c07 (patch)
treefdc507b29aa9f4276aed532b608b0ae0f21d681d /src/mesa/shader/prog_instruction.h
parent57d78067bde1b23351380700352e71ed977ebcfe (diff)
mesa: allow relative indexing into all register files and indirect dst register indexing
Diffstat (limited to 'src/mesa/shader/prog_instruction.h')
-rw-r--r--src/mesa/shader/prog_instruction.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/mesa/shader/prog_instruction.h b/src/mesa/shader/prog_instruction.h
index 8adbe4f3ca..268afc528c 100644
--- a/src/mesa/shader/prog_instruction.h
+++ b/src/mesa/shader/prog_instruction.h
@@ -1,8 +1,8 @@
/*
* Mesa 3-D graphics library
- * Version: 6.5.3
+ * Version: 7.3
*
- * Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2008 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"),
@@ -288,13 +288,10 @@ struct prog_src_register
*/
struct prog_dst_register
{
- /**
- * One of the PROGRAM_* register file values.
- */
- GLuint File:4;
-
+ GLuint File:4; /**< One of the PROGRAM_* register file values */
GLuint Index:8;
GLuint WriteMask:4;
+ GLuint RelAddr:1;
/**
* \name Conditional destination update control.
@@ -326,7 +323,7 @@ struct prog_dst_register
GLuint CondSrc:1;
/*@}*/
- GLuint pad:31;
+ GLuint pad:30;
};