mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-27 13:10:37 +00:00
21 lines
339 B
GLSL
21 lines
339 B
GLSL
|
|
struct PS_OUTPUT
|
|
{
|
|
float4 Color : SV_Target0;
|
|
};
|
|
|
|
Texture2D TestTexture <
|
|
string TestAttribute1 = "TestAttribute";
|
|
string TestAttribute2 = "false";
|
|
int TestAttribute3 = 3;
|
|
>;
|
|
|
|
uniform float4 TestUF <string StrValue = "foo";>;
|
|
|
|
PS_OUTPUT main()
|
|
{
|
|
PS_OUTPUT psout;
|
|
psout.Color = float4(0,0,0,1);
|
|
return psout;
|
|
}
|