mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 01:08:03 +02:00
i965: fix typo
Noticed by clang:
brw_wm_surface_state.c:330:30: warning: initializer overrides prior
initialization of this subobject [-Winitializer-overrides]
[MESA_FORMAT_Z24_S8] = 0,
^
brw_wm_surface_state.c:326:30: note: previous initialization is here
[MESA_FORMAT_Z24_S8] = 0,
^
No functionality change, since the array is declared static so
it was zero-initialized by default.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
(cherry picked from commit dd32df3829)
This commit is contained in:
parent
0a25c4c384
commit
03354a3c4a
1 changed files with 1 additions and 1 deletions
|
|
@ -327,7 +327,7 @@ brw_format_for_mesa_format(gl_format mesa_format)
|
|||
[MESA_FORMAT_S8_Z24] = 0,
|
||||
[MESA_FORMAT_Z16] = 0,
|
||||
[MESA_FORMAT_X8_Z24] = 0,
|
||||
[MESA_FORMAT_Z24_S8] = 0,
|
||||
[MESA_FORMAT_Z24_X8] = 0,
|
||||
[MESA_FORMAT_Z32] = 0,
|
||||
[MESA_FORMAT_S8] = 0,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue