- removed array length() function from shadowmap shader
Array's length() function is not yet supported by SPIRV-cross and MoltenVK Its usage was replaced by explicit nodes count value passed as uniform
This commit is contained in:
parent
756c593e96
commit
da2d0e47e6
6 changed files with 13 additions and 3 deletions
|
|
@ -845,6 +845,7 @@ void PPShadowMap::Update(PPRenderState *renderstate)
|
|||
{
|
||||
ShadowMapUniforms uniforms;
|
||||
uniforms.ShadowmapQuality = (float)gl_shadowmap_quality;
|
||||
uniforms.NodesCount = screen->mShadowMap.NodesCount();
|
||||
|
||||
renderstate->PushGroup("shadowmap");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue