tgsi_src_register_ext_mod Struct Reference

Extra src register modifiers. More...


Data Fields

unsigned Type: 4
unsigned Complement: 1
unsigned Bias: 1
unsigned Scale2X: 1
unsigned Absolute: 1
unsigned Negate: 1
unsigned Padding: 22
unsigned Extended: 1


Detailed Description

Extra src register modifiers.

If Complement is TRUE, the source register is modified by subtracting it from 1.0.

If Bias is TRUE, the source register is modified by subtracting 0.5 from it.

If Scale2X is TRUE, the source register is modified by multiplying it by 2.0.

If Absolute is TRUE, the source register is modified by removing the sign.

If Negate is TRUE, the source register is modified by negating it.

Definition at line 665 of file p_shader_tokens.h.


Field Documentation

unsigned tgsi_src_register_ext_mod::Type

Definition at line 667 of file p_shader_tokens.h.

unsigned tgsi_src_register_ext_mod::Complement

Definition at line 668 of file p_shader_tokens.h.

unsigned tgsi_src_register_ext_mod::Bias

Definition at line 669 of file p_shader_tokens.h.

unsigned tgsi_src_register_ext_mod::Scale2X

Definition at line 670 of file p_shader_tokens.h.

unsigned tgsi_src_register_ext_mod::Absolute

Definition at line 671 of file p_shader_tokens.h.

unsigned tgsi_src_register_ext_mod::Negate

Definition at line 672 of file p_shader_tokens.h.

unsigned tgsi_src_register_ext_mod::Padding

Definition at line 673 of file p_shader_tokens.h.

unsigned tgsi_src_register_ext_mod::Extended

Definition at line 674 of file p_shader_tokens.h.


The documentation for this struct was generated from the following file:
Generated on Tue Sep 29 06:26:07 2009 for Gallium3D by  doxygen 1.5.4