GxShaderIsLoaded
function · gx · orchestration
- Address
0x58b360· 11 bytes, up to0x58b36a- Signature
uint32_t __fastcall (void *shader)- Meaning
- Returns a shader's loaded flag +0x2c, or 0 for a null shader
- Confidence
- verified, proof one
- Finding
- gx/facade#shader-loaded-flag
Finding: Shader loaded flag in gx: facade calls
0x58b360(shader) returns 0 for a null shader, else its +0x2c: the loaded flag. The shader file
read sets it to 1 for each shader it reads (0x595216, slots.md, Shader files); an OpenGL
program build clears it and sets it to whether the program compiled within the native limits
(0x59e544, 0x59e6be, renderstate.md). On Direct3D it is 1 once the file has a program for
the device's level. Twenty-nine call sites test it; the weather turns its shader leg off when either
of its two shaders reports 0 (0x6747f5, 0x674804, 0x67480d).
The derivation is in the doc.
Callers 15
- Rain::Rain lighting
- Snow::Snow lighting
- Sand::Sand lighting
- DrawRiverPass terrain
- CChunkLiquid::DrawRiver terrain
- CMap::Load terrain
- DrawExteriorGroupLiquid terrain
- CMapChunk::DrawLayers terrain
- Box4PassIsReady ffxeffects
- Gauss4PassIsReady ffxeffects
- GlowPassIsReady ffxeffects
- GlowWavePassIsReady ffxeffects
- DeathPassIsReady ffxeffects
- DeathCombinerPassIsReady ffxeffects
- GetUiPixelShader ui
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.