feat(gx): set caps in d3d backend

This commit is contained in:
fallenoak 2023-03-08 17:34:49 -06:00 committed by GitHub
parent eeda61c2d9
commit f818d5f397
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 74 additions and 2 deletions

View file

@ -6,20 +6,26 @@
class CGxCaps {
public:
int32_t m_numTmus = 0;
int32_t m_pixelCenterOnEdge = 0;
int32_t m_texelCenterOnEdge = 0;
int32_t m_numStreams = 0;
int32_t int10 = 0;
EGxColorFormat m_colorFormat = GxCF_argb;
uint32_t m_maxIndex = 0;
int32_t m_generateMipMaps = 0;
int32_t m_texTarget[GxTexTargets_Last];
uint32_t m_texMaxSize[GxTexTargets_Last];
uint32_t m_maxTextureSize = 0;
int32_t m_texFmtDxt1 = 0;
int32_t m_texFmtDxt3 = 0;
int32_t m_texFmtDxt5 = 0;
EGxShVS m_vertexShaderTarget = GxShVS_none;
EGxShPS m_pixelShaderTarget = GxShPS_none;
int32_t m_texFilterTrilinear = 0;
int32_t m_texFilterAnisotropic = 0;
uint32_t m_maxTexAnisotropy = 0;
int32_t m_texTarget[GxTexTargets_Last];
uint32_t m_texMaxSize[GxTexTargets_Last];
int32_t m_depthBias = 0;
int32_t int130 = 1;
int32_t int134 = 0;
int32_t int138 = 0;