feat(gx): remove placeholder gx caps (#45)

This commit is contained in:
fallenoak 2023-03-09 22:29:33 -06:00 committed by GitHub
parent 0e0b57fce9
commit 907c3faf8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 57 additions and 61 deletions

View file

@ -73,7 +73,7 @@ int32_t CM2Cache::Initialize(uint32_t flags) {
// TODO
if (flags & 0x8) {
if (GxCaps()->m_vertexShaderTarget > GxShVS_none && GxCaps()->m_pixelShaderTarget > GxShPS_none) {
if (GxCaps().m_vertexShaderTarget > GxShVS_none && GxCaps().m_pixelShaderTarget > GxShPS_none) {
this->m_flags |= 0x8;
}
}

View file

@ -62,7 +62,7 @@ void CM2Scene::ComputeElementShaders(M2Element* element) {
}
}
int32_t v9 = v18 && (/* TODO !GxCaps()->dword130 ||*/ v8);
int32_t v9 = v18 && (/* TODO !GxCaps().dword130 ||*/ v8);
int32_t v10 = std::min(boneInfluences, 2);
int32_t v11 = std::min(v8, 2);