mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 17:20:10 +01:00
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 <chad.versace@intel.com> Cc: "12.0" <mesa-stable@lists.freedesktop.org>
This commit is contained in:
parent
caf2af4181
commit
39baea551f
1 changed files with 0 additions and 9 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue