Merge pull request #2976 from jeremy-lunarg/hayes-fix-2975
[platform/upstream/glslang.git] / Test / hlsl.stringtoken.frag
1
2 struct PS_OUTPUT
3 {
4     float4 Color : SV_Target0;
5 };
6
7 Texture2D TestTexture <
8     string TestAttribute1 = "TestAttribute";
9     string TestAttribute2 = "false";
10     int    TestAttribute3 = 3;
11 >;
12
13 uniform float4 TestUF <string StrValue = "foo";>;
14
15 PS_OUTPUT main()
16 {
17    PS_OUTPUT psout;
18    psout.Color = float4(0,0,0,1);
19    return psout;
20 }