ddnet/data/shader/vulkan/quadbo.vertfrag
2022-03-21 12:39:51 +01:00

14 lines
220 B
Plaintext

struct SQuadUniformEl {
vec4 gVertColor;
vec2 gOffset;
float gRotation;
};
#define TW_MAX_QUADS 256
layout (std140, set = 2, binding = 2) uniform SOffBO {
uniform SQuadUniformEl gUniEls[TW_MAX_QUADS];
} gQuadBO;