1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-23 19:54:16 +01:00

[d3d8] A few minor formatting adjustments

This commit is contained in:
WinterSnowfall 2025-02-13 23:14:26 +02:00 committed by Philip Rebohle
parent 3269f92138
commit 8efa3ed84a
4 changed files with 38 additions and 40 deletions

View File

@ -59,30 +59,30 @@ namespace dxvk {
// Add D3D8-specific caps:
// Removed in D3D9, since it can always render windowed
pCaps8->Caps2 |= D3DCAPS2_CANRENDERWINDOWED;
pCaps8->Caps2 |= D3DCAPS2_CANRENDERWINDOWED
// A remnant from a bygone age of ddraw interop most likely
// | D3DCAPS2_NO2DDURING3DSCENE;
/* | D3DCAPS2_NO2DDURING3DSCENE*/;
// Used in conjunction with D3DPRASTERCAPS_PAT, but generally unadvertised
//pCaps8->PrimitiveMiscCaps |= D3DPMISCCAPS_LINEPATTERNREP;
/*pCaps8->PrimitiveMiscCaps |= D3DPMISCCAPS_LINEPATTERNREP;*/
// Replaced by D3DPRASTERCAPS_DEPTHBIAS in D3D9
pCaps8->RasterCaps |= D3DPRASTERCAPS_ZBIAS;
pCaps8->RasterCaps |= D3DPRASTERCAPS_ZBIAS
// Advertised on Nvidia cards by modern drivers, but not on AMD or Intel
// | D3DPRASTERCAPS_ANTIALIASEDGES
/* | D3DPRASTERCAPS_ANTIALIASEDGES*/
// Advertised on Nvidia cards, but not on AMD or Intel
// | D3DPRASTERCAPS_STRETCHBLTMULTISAMPLE
/* | D3DPRASTERCAPS_STRETCHBLTMULTISAMPLE*/
// TODO: Implement D3DRS_LINEPATTERN - vkCmdSetLineRasterizationModeEXT
// | D3DPRASTERCAPS_PAT;
/* | D3DPRASTERCAPS_PAT*/;
// MAG only filter caps, generally unsupported
//pCaps8->TextureFilterCaps |= D3DPTFILTERCAPS_MAGFAFLATCUBIC
// | D3DPTFILTERCAPS_MAGFGAUSSIANCUBIC;
//pCaps8->CubeTextureFilterCaps = pCaps8->TextureFilterCaps;
//pCaps8->VolumeTextureFilterCaps = pCaps8->TextureFilterCaps;
/*pCaps8->TextureFilterCaps |= D3DPTFILTERCAPS_MAGFAFLATCUBIC*/
/* | D3DPTFILTERCAPS_MAGFGAUSSIANCUBIC;*/
/*pCaps8->CubeTextureFilterCaps = pCaps8->TextureFilterCaps;*/
/*pCaps8->VolumeTextureFilterCaps = pCaps8->TextureFilterCaps;*/
// Not advertised on any modern hardware
//pCaps8->VertexProcessingCaps |= D3DVTXPCAPS_NO_VSDT_UBYTE4;
/*pCaps8->VertexProcessingCaps |= D3DVTXPCAPS_NO_VSDT_UBYTE4;*/
}
// (9<-8) D3DD3DPRESENT_PARAMETERS: Returns D3D9's params given an input for D3D8

View File

@ -1,4 +1,3 @@
#include "d3d8_shader.h"
#define VSD_SHIFT_MASK(token, field) ((token & field ## MASK) >> field ## SHIFT)

View File

@ -1,4 +1,3 @@
#include "d3d8_surface.h"
#include "d3d8_device.h"