From 4787bc944a2d219dd04201eef699d9f999b479b8 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Thu, 28 Feb 2019 01:13:33 -0800 Subject: isl: Add a swizzle parameter to isl_buffer_fill_state() This is necessary for legacy texture buffer object formats, where we'll need to use a swizzle to fake e.g. luminance. Reviewed-by: Jason Ekstrand --- src/intel/isl/isl.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/intel/isl/isl.h') diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h index cfac922a3d2..a792e18e5d1 100644 --- a/src/intel/isl/isl.h +++ b/src/intel/isl/isl.h @@ -1361,6 +1361,11 @@ struct isl_buffer_fill_state_info { */ enum isl_format format; + /** + * The swizzle to use in the surface state + */ + struct isl_swizzle swizzle; + uint32_t stride_B; }; -- cgit v1.2.3