summaryrefslogtreecommitdiffstats
path: root/src/intel/isl/isl.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-02-08 17:59:43 -0800
committerJason Ekstrand <[email protected]>2018-05-09 11:16:33 -0700
commit1ef4f5aff1bb80685a7d8407ce74040f7494068f (patch)
treefd98d398882d3f67c7d7df4da3b616d1177e84f3 /src/intel/isl/isl.h
parent242f6f7492a0e5b0cafa003c61f1d9e8ccce8889 (diff)
intel/isl: Add a helper for inverting swizzles
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/isl/isl.h')
-rw-r--r--src/intel/isl/isl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h
index 3c175d2d051..c1d73646ab4 100644
--- a/src/intel/isl/isl.h
+++ b/src/intel/isl/isl.h
@@ -1746,6 +1746,8 @@ isl_swizzle_supports_rendering(const struct gen_device_info *devinfo,
struct isl_swizzle
isl_swizzle_compose(struct isl_swizzle first, struct isl_swizzle second);
+struct isl_swizzle
+isl_swizzle_invert(struct isl_swizzle swizzle);
#define isl_surf_init(dev, surf, ...) \
isl_surf_init_s((dev), (surf), \