#include <prog_instruction.h>
Data Fields | |
GLuint | File:4 |
One of the PROGRAM_* register file values. | |
GLint | Index:(INST_INDEX_BITS+1) |
Extra bit here for sign bit. | |
GLuint | Swizzle:12 |
GLuint | RelAddr:1 |
GLuint | Abs:1 |
Take the component-wise absolute value. | |
GLuint | Negate:4 |
Post-Abs negation. |
GLuint prog_src_register::File |
One of the PROGRAM_* register file values.
GLint prog_src_register::Index |
Extra bit here for sign bit.
May be negative for relative addressing.
GLuint prog_src_register::Swizzle |
GLuint prog_src_register::RelAddr |
GLuint prog_src_register::Abs |
Take the component-wise absolute value.
GLuint prog_src_register::Negate |
Post-Abs negation.
This will either be NEGATE_NONE or NEGATE_XYZW, except for the SWZ instruction which allows per-component negation.