summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-06-07 16:55:21 -0700
committerJason Ekstrand <[email protected]>2016-06-22 12:26:43 -0700
commit39baea551fe228cfc4647d6a56e80639b7129b6a (patch)
treee69f32b36bc241fba3cfd3338c478caaf586c39d /src/intel
parentcaf2af4181c66df8af31662de22120dcf1d16c7c (diff)
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 <[email protected]> Cc: "12.0" <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/isl/isl_surface_state.c9
1 files changed, 0 insertions, 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 */