Branimir Karadžić 7 лет назад
Родитель
Сommit
7fe816f2a5

+ 27 - 0
3rdparty/glslang/Test/baseResults/compoundsuffix.frag.hlsl

@@ -0,0 +1,27 @@
+compoundsuffix.frag.hlsl
+// Module Version 10000
+// Generated by (magic number): 80006
+// Id's are bound by 21
+
+                              Capability Shader
+               1:             ExtInstImport  "GLSL.std.450"
+                              MemoryModel Logical GLSL450
+                              EntryPoint Fragment 4  "main" 20
+                              ExecutionMode 4 OriginUpperLeft
+                              Source HLSL 500
+                              Name 4  "main"
+                              Name 20  "fragColor"
+                              Decorate 20(fragColor) Location 0
+               2:             TypeVoid
+               3:             TypeFunction 2
+               6:             TypeFloat 32
+               7:             TypeVector 6(float) 4
+              13:    6(float) Constant 1065353216
+              14:    7(fvec4) ConstantComposite 13 13 13 13
+              19:             TypePointer Output 7(fvec4)
+   20(fragColor):     19(ptr) Variable Output
+         4(main):           2 Function None 3
+               5:             Label
+                              Store 20(fragColor) 14
+                              Return
+                              FunctionEnd

+ 15 - 0
3rdparty/glslang/Test/baseResults/compoundsuffix.vert.glsl

@@ -0,0 +1,15 @@
+compoundsuffix.vert.glsl
+Shader version: 100
+0:? Sequence
+0:1  Function Definition: main( ( global void)
+0:1    Function Parameters: 
+0:3    Sequence
+0:3      move second child to first child ( temp highp 4-component vector of float)
+0:3        'gl_Position' ( gl_Position highp 4-component vector of float Position)
+0:3        Constant:
+0:3          1.000000
+0:3          1.000000
+0:3          1.000000
+0:3          1.000000
+0:?   Linker Objects
+

+ 6 - 0
3rdparty/glslang/Test/compoundsuffix.frag.hlsl

@@ -0,0 +1,6 @@
+void main(out float4 fragColor : SV_TARGET0)
+{
+    fragColor = 1;
+}
+
+

+ 4 - 0
3rdparty/glslang/Test/compoundsuffix.vert.glsl

@@ -0,0 +1,4 @@
+void main()
+{
+    gl_Position = vec4(1.0);
+}