Fixes particle shader compilation

The problem was only in case of USE_DESCRIPTOR_INDEXING. Because it adds
additional data for textures to the end of draw uniforms.

Fixes #8780
This commit is contained in:
Vladislav Belov 2026-03-22 00:51:41 +01:00
parent 19fe52f328
commit b52fbb7c62
No known key found for this signature in database
GPG key ID: 353545E45DB9CCB3

View file

@ -8,12 +8,12 @@ BEGIN_DRAW_TEXTURES
END_DRAW_TEXTURES
BEGIN_DRAW_UNIFORMS
UNIFORM(mat4, modelViewMatrix)
UNIFORM(mat4, spaceTransform)
END_DRAW_UNIFORMS
BEGIN_MATERIAL_UNIFORMS
UNIFORM(mat4, transform)
UNIFORM(mat4, modelViewMatrix)
UNIFORM(vec3, sunColor)
UNIFORM(vec3, fogColor)
UNIFORM(vec2, fogParams)