wined3d: Get rid of WINED3DPRASTERCAPS_ZBIAS.

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:
Matteo Bruni 2019-05-20 18:49:52 +02:00 committed by Alexandre Julliard
parent 55c619cb1f
commit 56f7326071
3 changed files with 2 additions and 4 deletions

View file

@ -4360,8 +4360,7 @@ static void adapter_gl_get_wined3d_caps(const struct wined3d_adapter *adapter, s
if (gl_info->supported[ARB_TEXTURE_FILTER_ANISOTROPIC])
{
caps->RasterCaps |= WINED3DPRASTERCAPS_ANISOTROPY
| WINED3DPRASTERCAPS_ZBIAS;
caps->RasterCaps |= WINED3DPRASTERCAPS_ANISOTROPY;
caps->TextureFilterCaps |= WINED3DPTFILTERCAPS_MAGFANISOTROPIC
| WINED3DPTFILTERCAPS_MINFANISOTROPIC;

View file

@ -337,7 +337,7 @@ static void adapter_vk_get_wined3d_caps(const struct wined3d_adapter *adapter, s
| WINED3DPMISCCAPS_INDEPENDENTWRITEMASKS
| WINED3DPMISCCAPS_POSTBLENDSRGBCONVERT;
caps->RasterCaps |= WINED3DPRASTERCAPS_ZBIAS | WINED3DPRASTERCAPS_MIPMAPLODBIAS;
caps->RasterCaps |= WINED3DPRASTERCAPS_MIPMAPLODBIAS;
if (sampler_anisotropy)
{

View file

@ -1210,7 +1210,6 @@ enum wined3d_shader_type
#define WINED3DPRASTERCAPS_ANTIALIASSORTINDEPENDENT 0x00000800
#define WINED3DPRASTERCAPS_ANTIALIASEDGES 0x00001000
#define WINED3DPRASTERCAPS_MIPMAPLODBIAS 0x00002000
#define WINED3DPRASTERCAPS_ZBIAS 0x00004000
#define WINED3DPRASTERCAPS_ZBUFFERLESSHSR 0x00008000
#define WINED3DPRASTERCAPS_FOGRANGE 0x00010000
#define WINED3DPRASTERCAPS_ANISOTROPY 0x00020000