summaryrefslogtreecommitdiffstats
path: root/src/isl/isl.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-01-05 13:53:05 -0800
committerJason Ekstrand <[email protected]>2016-01-18 17:21:05 -0800
commit580b2e85e48dbb82d168192c9f085d1c70355795 (patch)
tree05e93dd0b51ee98d488c71e961f62c2c39d78577 /src/isl/isl.c
parent587842a0cab1e24f561bf99de94e91fa6710f2a5 (diff)
isl/device: Add a flag for bit 6 swizzling
Diffstat (limited to 'src/isl/isl.c')
-rw-r--r--src/isl/isl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/isl/isl.c b/src/isl/isl.c
index 015b14ea3d2..bb3d59576e0 100644
--- a/src/isl/isl.c
+++ b/src/isl/isl.c
@@ -46,10 +46,12 @@ __isl_finishme(const char *file, int line, const char *fmt, ...)
void
isl_device_init(struct isl_device *dev,
- const struct brw_device_info *info)
+ const struct brw_device_info *info,
+ bool has_bit6_swizzling)
{
dev->info = info;
dev->use_separate_stencil = ISL_DEV_GEN(dev) >= 6;
+ dev->has_bit6_swizzling = has_bit6_swizzling;
/* The ISL_DEV macros may be defined in the CFLAGS, thus hardcoding some
* device properties at buildtime. Verify that the macros with the device