[Mesa-dev] [PATCH 11/64] isl/state: Remove some unused fields
Jason Ekstrand
jason at jlekstrand.net
Sat Jun 11 16:02:26 UTC 2016
They're already zero-initialized and we have no plans of doing anything
more interesting with them.
---
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 ae8096f..c36ef3b 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.5.0.400.gff86faf
More information about the mesa-dev
mailing list