mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-08-15 14:43:32 -07:00
Reduces canvas2d layout for SPIR-V
It's preferrable to keep push constant under 64 bytes for some vendors. The layout optimization rule is similar to C++ one.
This commit is contained in:
parent
355c068068
commit
5ca4c93f55
1 changed files with 1 additions and 1 deletions
|
|
@ -6,9 +6,9 @@ END_DRAW_TEXTURES
|
|||
|
||||
BEGIN_DRAW_UNIFORMS
|
||||
UNIFORM(vec4, transform)
|
||||
UNIFORM(vec2, translation)
|
||||
UNIFORM(vec4, colorAdd)
|
||||
UNIFORM(vec4, colorMul)
|
||||
UNIFORM(vec2, translation)
|
||||
UNIFORM(float, grayscaleFactor)
|
||||
END_DRAW_UNIFORMS
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue