summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMiklós Máté <[email protected]>2017-12-02 23:35:24 +0100
committerMarek Olšák <[email protected]>2017-12-25 14:32:23 +0100
commit0fd82f545532c6b72d583524451b5ef56e139eee (patch)
treedf8113552f3ffcc703ce5395e4f84a415f8a8d8e /src/mesa
parentf5415dcc8c6bdc55f43ebfd6d772e6ba07598de4 (diff)
mesa: document ati_fragment_shader::cur_pass and swizzlerq
Signed-off-by: Miklós Máté <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/mtypes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index a29d78b1017..a4f1e78f41b 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2390,10 +2390,14 @@ struct ati_fragment_shader
GLubyte numArithInstr[2];
GLubyte regsAssigned[2];
GLubyte NumPasses; /**< 1 or 2 */
+ /** Current compile stage: 0 setup pass1, 1 arith pass1, 2 setup pass2, 3 arith pass2 */
GLubyte cur_pass;
GLubyte last_optype;
GLboolean interpinp1;
GLboolean isValid;
+ /** Array of 2 bit values for each tex unit to remember whether
+ * STR or STQ swizzle was used
+ */
GLuint swizzlerq;
struct gl_program *Program;
};