mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader: Fix typo in vkd3d_dxbc_compiler_have_combined_sampler().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
94497f31a0
commit
049d21ad7a
@ -2043,7 +2043,7 @@ static bool vkd3d_dxbc_compiler_have_combined_sampler(const struct vkd3d_dxbc_co
|
||||
{
|
||||
combined_sampler = &shader_interface->combined_samplers[i];
|
||||
|
||||
if (!(resource || combined_sampler->resource_index == resource->idx[0].offset)
|
||||
if ((!resource || combined_sampler->resource_index == resource->idx[0].offset)
|
||||
&& (!sampler || combined_sampler->sampler_index == sampler->idx[0].offset))
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user