mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-14 12:02:30 +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
|
|
@ -444,7 +444,7 @@ void CGxDevice::IRsSync(int32_t force) {
|
|||
}
|
||||
|
||||
void CGxDevice::IShaderLoad(CGxShader* shaders[], EGxShTarget target, const char* a4, const char* a5, int32_t permutations) {
|
||||
int32_t profile = this->m_shaderProfiles[target];
|
||||
int32_t profile = this->m_caps.m_shaderTargets[target];
|
||||
|
||||
if (!profile) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue