First Commit

This commit is contained in:
2025-02-06 22:24:29 +08:00
parent ed7df4c81e
commit 7539e6a53c
18116 changed files with 6181499 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#version 450 core
#extension GL_ARB_shader_draw_parameters: enable
layout(binding = 0) uniform Block
{
vec4 pos[2][4];
} block;
void main()
{
if ((gl_BaseVertexARB > 0) || (gl_BaseInstanceARB > 0))
gl_Position = block.pos[0][gl_DrawIDARB % 4];
else
gl_Position = block.pos[1][gl_DrawIDARB % 4];
}