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

25
externals/glslang/Test/hlsl.basic.geom vendored Normal file
View File

@@ -0,0 +1,25 @@
struct PSInput
{
float myfloat : SOME_SEMANTIC;
int something : ANOTHER_SEMANTIC;
};
struct nametest {
int Append; // these are valid names even though they are also method names.
int RestartStrip; // ...
};
[maxvertexcount(4)]
void main(triangle in uint VertexID[3] : VertexID,
triangle uint test[3] : FOO,
inout LineStream<PSInput> OutputStream)
{
PSInput Vert;
Vert.myfloat = test[0] + test[1] + test[2];
Vert.something = VertexID[0];
OutputStream.Append(Vert);
OutputStream.Append(Vert);
OutputStream.RestartStrip();
}