ddnet/data/shader/vulkan/quadbo.vertfrag

14 lines
220 B
Plaintext
Raw Normal View History

2022-03-20 17:04:00 +00:00
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;