mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 04:30:10 +01:00
d3d12: Remove copy/pasted line of array initialization
Clang warns that the second instance overrides array entry initialization, so remove the copy/pasted line. UNORM entries are already initialized above (with alpha explicitly, and NO_ALPHA used for the others), so this was just a duplicate and had no real impact. Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8248>
This commit is contained in:
parent
ca5df4273e
commit
e3ca385f3d
1 changed files with 0 additions and 1 deletions
|
|
@ -92,7 +92,6 @@ static const DXGI_FORMAT formats[PIPE_FORMAT_COUNT] = {
|
|||
[PIPE_FORMAT_A8_UNORM] = DXGI_FORMAT_A8_UNORM,
|
||||
MAP_EMU_FORMAT_NO_ALPHA(8, UNORM)
|
||||
MAP_EMU_FORMAT(8, SNORM)
|
||||
MAP_EMU_FORMAT(8, SNORM)
|
||||
MAP_EMU_FORMAT(8, SINT)
|
||||
MAP_EMU_FORMAT(8, UINT)
|
||||
MAP_EMU_FORMAT(16, UNORM)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue