isl/state: Remove some unused fields
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Jun 2016 23:55:21 +0000 (16:55 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 22 Jun 2016 19:26:43 +0000 (12:26 -0700)
They're already zero-initialized and we have no plans of doing anything
more interesting with them.

Reviewed-by: Chad Versace <chad.versace@intel.com>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
src/intel/isl/isl_surface_state.c

index ae8096f4b1db59eb150bb6a916a03092f50851a8..c36ef3bbd5ab43ba66f9f7277eee41c7190fdaae 100644 (file)
@@ -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 */