From 39baea551fe228cfc4647d6a56e80639b7129b6a Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 7 Jun 2016 16:55:21 -0700 Subject: [PATCH] isl/state: Remove some unused fields They're already zero-initialized and we have no plans of doing anything more interesting with them. Reviewed-by: Chad Versace Cc: "12.0" --- src/intel/isl/isl_surface_state.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/intel/isl/isl_surface_state.c b/src/intel/isl/isl_surface_state.c index ae8096f4b1d..c36ef3bbd5a 100644 --- a/src/intel/isl/isl_surface_state.c +++ b/src/intel/isl/isl_surface_state.c @@ -218,9 +218,6 @@ isl_genX(surf_fill_state_s)(const struct isl_device *dev, void *state, TILEWALK_YMAJOR; #endif - s.VerticalLineStride = 0; - s.VerticalLineStrideOffset = 0; - #if (GEN_GEN == 7) s.SurfaceArraySpacing = info->surf->array_pitch_span == ISL_ARRAY_PITCH_SPAN_COMPACT; @@ -261,12 +258,6 @@ isl_genX(surf_fill_state_s)(const struct isl_device *dev, void *state, s.MultisampledSurfaceStorageFormat = isl_to_gen_multisample_layout[info->surf->msaa_layout]; s.NumberofMultisamples = ffs(info->surf->samples) - 1; - s.MultisamplePositionPaletteIndex = 0; /* UNUSED */ - - s.XOffset = 0; - s.YOffset = 0; - - s.ResourceMinLOD = 0.0; s.MIPCountLOD = 0; /* TEMPLATE */ s.SurfaceMinLOD = 0; /* TEMPLATE */ -- 2.30.2