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,48 @@
#version 430
// Error: ColorBlock has different members
layout (std140) uniform ColorBlock
{
vec4 color2;
};
// Error: Block has different members
layout (std140) uniform Block
{
mat4 uProj;
mat4 uWorld;
};
// Error: Vertex has different members
out Vertex
{
vec4 v1;
vec4 v2;
};
// Error BufferBlock has different members
buffer BufferBlock
{
vec4 a;
};
// Error: NamedBlock is anonymous in other compilation unit
layout (std140) uniform NamedBlock
{
mat4 m;
};
in vec4 P;
vec4 getColor2()
{
return color2;
}
vec4 getWorld()
{
return uWorld * P;
v2 = vec4(1);
}