mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-20 21:14:29 +03:00
feat(gx): use caps-defined shader profiles
This commit is contained in:
1 parent
92ba4b66ae
commit
73859890b1
7 files changed
+15
-21
No files matched your search
@@ -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_shaderTargets[GxSh_Vertex] > GxShVS_none && GxCaps().m_shaderTargets[GxSh_Pixel] > GxShPS_none) {
|
||||
this->m_flags |= 0x8;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user