mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
feat(gx): use caps-defined shader profiles
This commit is contained in:
parent
92ba4b66ae
commit
73859890b1
7 changed files with 15 additions and 21 deletions
|
|
@ -676,8 +676,8 @@ void CGxDeviceGLL::ISetCaps(const CGxFormat& format) {
|
|||
this->m_caps.m_texFmt[GxTex_Dxt3] = 1;
|
||||
this->m_caps.m_texFmt[GxTex_Dxt5] = 1;
|
||||
|
||||
this->m_caps.m_vertexShaderTarget = GxShVS_arbvp1;
|
||||
this->m_caps.m_pixelShaderTarget = GxShPS_arbfp1;
|
||||
this->m_caps.m_shaderTargets[GxSh_Vertex] = GxShVS_arbvp1;
|
||||
this->m_caps.m_shaderTargets[GxSh_Pixel] = GxShPS_arbfp1;
|
||||
|
||||
this->m_caps.m_texFilterAnisotropic = 1;
|
||||
this->m_caps.m_maxTexAnisotropy = 16;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue