aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_util.h')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_util.h23
1 files changed, 10 insertions, 13 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_util.h b/src/gallium/auxiliary/tgsi/tgsi_util.h
index ac04004751f..686b90f467e 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_util.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_util.h
@@ -39,13 +39,11 @@ struct tgsi_full_src_register;
struct tgsi_full_instruction;
void *
-tgsi_align_128bit(
- void *unaligned );
+tgsi_align_128bit(void *unaligned);
unsigned
-tgsi_util_get_src_register_swizzle(
- const struct tgsi_src_register *reg,
- unsigned component );
+tgsi_util_get_src_register_swizzle(const struct tgsi_src_register *reg,
+ unsigned component);
unsigned
@@ -54,10 +52,10 @@ tgsi_util_get_full_src_register_swizzle(
unsigned component );
void
-tgsi_util_set_src_register_swizzle(
- struct tgsi_src_register *reg,
- unsigned swizzle,
- unsigned component );
+tgsi_util_set_src_register_swizzle(struct tgsi_src_register *reg,
+ unsigned swizzle,
+ unsigned component);
+
#define TGSI_UTIL_SIGN_CLEAR 0 /* Force positive */
#define TGSI_UTIL_SIGN_SET 1 /* Force negative */
@@ -67,12 +65,11 @@ tgsi_util_set_src_register_swizzle(
unsigned
tgsi_util_get_full_src_register_sign_mode(
const struct tgsi_full_src_register *reg,
- unsigned component );
+ unsigned component);
void
-tgsi_util_set_full_src_register_sign_mode(
- struct tgsi_full_src_register *reg,
- unsigned sign_mode );
+tgsi_util_set_full_src_register_sign_mode(struct tgsi_full_src_register *reg,
+ unsigned sign_mode);
unsigned
tgsi_util_get_inst_usage_mask(const struct tgsi_full_instruction *inst,