summaryrefslogtreecommitdiff
path: root/src/gallium/include/pipe/p_shader_tokens.h
diff options
context:
space:
mode:
authorMichal Krol <michal@tungstengraphics.com>2008-03-12 16:41:25 +0100
committerMichal Krol <michal@tungstengraphics.com>2008-03-12 16:41:25 +0100
commitba75e82b6ebaf88dd2e4a8f764b2d296d715bf8a (patch)
treef646160d544aa869640d2b8edac69d6a36650ec0 /src/gallium/include/pipe/p_shader_tokens.h
parente5b1a53c9f9ad247272415e0e21e83cfe00728a9 (diff)
tgsi: Remove ExtDivide field from existence. Implement OPCODE_TXP.
Diffstat (limited to 'src/gallium/include/pipe/p_shader_tokens.h')
-rw-r--r--src/gallium/include/pipe/p_shader_tokens.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h
index f0bb43bc5b..210169f54f 100644
--- a/src/gallium/include/pipe/p_shader_tokens.h
+++ b/src/gallium/include/pipe/p_shader_tokens.h
@@ -655,9 +655,6 @@ struct tgsi_src_register_ext
*
* NegateX, NegateY, NegateZ and NegateW negate individual components of the
* source register.
- *
- * ExtDivide specifies which component is used to divide all components of the
- * source register.
*/
struct tgsi_src_register_ext_swz
@@ -671,15 +668,7 @@ struct tgsi_src_register_ext_swz
unsigned NegateY : 1; /* BOOL */
unsigned NegateZ : 1; /* BOOL */
unsigned NegateW : 1; /* BOOL */
-
- /*
- * XXX: Do not use. This field has been depricated.
- * XXX: If using in conjunction with OPCODE_TEX, please use OPCODE_TXP
- * XXX: and, if needed, perform a swizzle on the texture coordinate.
- */
- unsigned ExtDivide : 4; /* TGSI_EXTSWIZZLE_ */
-
- unsigned Padding : 3;
+ unsigned Padding : 7;
unsigned Extended : 1; /* BOOL */
};