summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_build.h
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-11-24 09:01:48 +0100
committerMichal Krol <michal@vmware.com>2009-11-24 09:05:28 +0100
commit5ee0d9f632383339088cc33005b7794b0915d4e0 (patch)
tree6fd3cb856ce76a8a567c166f3f40b3708f6805bb /src/gallium/auxiliary/tgsi/tgsi_build.h
parent57221c54387a43e268a80ee6b578d57e03efcc5e (diff)
downloadexternal_mesa3d-5ee0d9f632383339088cc33005b7794b0915d4e0.zip
external_mesa3d-5ee0d9f632383339088cc33005b7794b0915d4e0.tar.gz
external_mesa3d-5ee0d9f632383339088cc33005b7794b0915d4e0.tar.bz2
tgsi: Account for gallium shader token representation changes.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_build.h')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_build.h32
1 files changed, 14 insertions, 18 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_build.h b/src/gallium/auxiliary/tgsi/tgsi_build.h
index 669712e..0fe5f22 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_build.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_build.h
@@ -143,6 +143,7 @@ struct tgsi_instruction
tgsi_build_instruction(
unsigned opcode,
unsigned saturate,
+ unsigned predicate,
unsigned num_dst_regs,
unsigned num_src_regs,
struct tgsi_header *header );
@@ -157,6 +158,19 @@ tgsi_build_full_instruction(
struct tgsi_header *header,
unsigned maxsize );
+struct tgsi_instruction_predicate
+tgsi_default_instruction_predicate(void);
+
+struct tgsi_instruction_predicate
+tgsi_build_instruction_predicate(int index,
+ unsigned negate,
+ unsigned swizzleX,
+ unsigned swizzleY,
+ unsigned swizzleZ,
+ unsigned swizzleW,
+ struct tgsi_instruction *instruction,
+ struct tgsi_header *header);
+
struct tgsi_instruction_ext_label
tgsi_default_instruction_ext_label( void );
@@ -187,24 +201,6 @@ tgsi_build_instruction_ext_texture(
struct tgsi_instruction *instruction,
struct tgsi_header *header );
-struct tgsi_instruction_ext_predicate
-tgsi_default_instruction_ext_predicate(void);
-
-unsigned
-tgsi_compare_instruction_ext_predicate(struct tgsi_instruction_ext_predicate a,
- struct tgsi_instruction_ext_predicate b);
-
-struct tgsi_instruction_ext_predicate
-tgsi_build_instruction_ext_predicate(unsigned index,
- unsigned negate,
- unsigned swizzleX,
- unsigned swizzleY,
- unsigned swizzleZ,
- unsigned swizzleW,
- struct tgsi_token *prev_token,
- struct tgsi_instruction *instruction,
- struct tgsi_header *header);
-
struct tgsi_src_register
tgsi_default_src_register( void );