mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
dzn: Fix maybe-uninitialized warning
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Bill Kristiansen <billkris@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17340>
This commit is contained in:
parent
45ad8125f5
commit
72a9e66b20
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ static const struct dzn_sampler_filter_info filter_table[] = {
|
|||
D3D12_FILTER
|
||||
dzn_translate_sampler_filter(const VkSamplerCreateInfo *create_info)
|
||||
{
|
||||
D3D12_FILTER filter;
|
||||
D3D12_FILTER filter = (D3D12_FILTER)0;
|
||||
|
||||
if (!create_info->anisotropyEnable) {
|
||||
unsigned i;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue