aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_util.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-11-14 22:17:49 -0700
committerBrian Paul <[email protected]>2017-11-15 16:12:44 -0700
commitae7b4fdb3230f9e9f9a4701d47f5a8bfe072db4e (patch)
treedb9f55989e045e6de9a7663f4af43713bc0f126e /src/gallium/auxiliary/tgsi/tgsi_util.h
parentcbfc92c04b98f1c2e534055fd0e3f82ef539c3c4 (diff)
tgsi: whitespace clean-ups in tgsi_util.[ch]
Trivial.
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,