wined3d: Always report support for ZBIAS and MIPMAPLODBIAS raster caps in the Vulkan backend.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1e145b12a7
commit
0f209a9301
|
@ -337,11 +337,11 @@ static void adapter_vk_get_wined3d_caps(const struct wined3d_adapter *adapter, s
|
|||
| WINED3DPMISCCAPS_INDEPENDENTWRITEMASKS
|
||||
| WINED3DPMISCCAPS_POSTBLENDSRGBCONVERT;
|
||||
|
||||
caps->RasterCaps |= WINED3DPRASTERCAPS_ZBIAS | WINED3DPRASTERCAPS_MIPMAPLODBIAS;
|
||||
|
||||
if (sampler_anisotropy)
|
||||
{
|
||||
caps->RasterCaps |= WINED3DPRASTERCAPS_ANISOTROPY
|
||||
| WINED3DPRASTERCAPS_ZBIAS
|
||||
| WINED3DPRASTERCAPS_MIPMAPLODBIAS;
|
||||
caps->RasterCaps |= WINED3DPRASTERCAPS_ANISOTROPY;
|
||||
|
||||
caps->TextureFilterCaps |= WINED3DPTFILTERCAPS_MAGFANISOTROPIC
|
||||
| WINED3DPTFILTERCAPS_MINFANISOTROPIC;
|
||||
|
|
Loading…
Reference in New Issue