#include <prog_instruction.h>
Data Fields | |
GLuint | File:4 |
One of the PROGRAM_* register file values. | |
GLuint | Index:INST_INDEX_BITS |
Unsigned, never negative. | |
GLuint | WriteMask:4 |
GLuint | RelAddr:1 |
GLuint | pad:28 |
Conditional destination update control. | |
| |
GLuint | CondMask:4 |
Takes one of the 9 possible condition values (EQ, FL, GT, GE, LE, LT, NE, TR, or UN). | |
GLuint | CondSwizzle:12 |
Condition code swizzle value. | |
GLuint | CondSrc:1 |
Selects the condition code register to use for conditional destination update masking. |
GLuint prog_dst_register::File |
One of the PROGRAM_* register file values.
GLuint prog_dst_register::Index |
Unsigned, never negative.
GLuint prog_dst_register::WriteMask |
GLuint prog_dst_register::RelAddr |
GLuint prog_dst_register::CondMask |
Takes one of the 9 possible condition values (EQ, FL, GT, GE, LE, LT, NE, TR, or UN).
Dest reg is only written to if the matching (swizzled) condition code value passes. When a conditional update mask is not specified, this will be COND_TR
.
Condition code swizzle value.
GLuint prog_dst_register::CondSrc |
Selects the condition code register to use for conditional destination update masking.
In NV_fragmnet_program or NV_vertex_program2 mode, only condition code register 0 is available. In NV_vertex_program3 mode, condition code registers 0 and 1 are available.
GLuint prog_dst_register::pad |