From 7fe816f2a506036484880bc67f73729bddca84ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sat, 21 Apr 2018 07:54:02 -0700 Subject: [PATCH] Updated glslang. --- .../Test/baseResults/compoundsuffix.frag.hlsl | 27 +++++++++++++++++++ .../Test/baseResults/compoundsuffix.vert.glsl | 15 +++++++++++ .../glslang/Test/compoundsuffix.frag.hlsl | 6 +++++ .../glslang/Test/compoundsuffix.vert.glsl | 4 +++ 4 files changed, 52 insertions(+) create mode 100644 3rdparty/glslang/Test/baseResults/compoundsuffix.frag.hlsl create mode 100644 3rdparty/glslang/Test/baseResults/compoundsuffix.vert.glsl create mode 100644 3rdparty/glslang/Test/compoundsuffix.frag.hlsl create mode 100755 3rdparty/glslang/Test/compoundsuffix.vert.glsl diff --git a/3rdparty/glslang/Test/baseResults/compoundsuffix.frag.hlsl b/3rdparty/glslang/Test/baseResults/compoundsuffix.frag.hlsl new file mode 100644 index 000000000..be527a38e --- /dev/null +++ b/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 diff --git a/3rdparty/glslang/Test/baseResults/compoundsuffix.vert.glsl b/3rdparty/glslang/Test/baseResults/compoundsuffix.vert.glsl new file mode 100644 index 000000000..58354a409 --- /dev/null +++ b/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 + diff --git a/3rdparty/glslang/Test/compoundsuffix.frag.hlsl b/3rdparty/glslang/Test/compoundsuffix.frag.hlsl new file mode 100644 index 000000000..59322acda --- /dev/null +++ b/3rdparty/glslang/Test/compoundsuffix.frag.hlsl @@ -0,0 +1,6 @@ +void main(out float4 fragColor : SV_TARGET0) +{ + fragColor = 1; +} + + diff --git a/3rdparty/glslang/Test/compoundsuffix.vert.glsl b/3rdparty/glslang/Test/compoundsuffix.vert.glsl new file mode 100755 index 000000000..26862fff1 --- /dev/null +++ b/3rdparty/glslang/Test/compoundsuffix.vert.glsl @@ -0,0 +1,4 @@ +void main() +{ + gl_Position = vec4(1.0); +} \ No newline at end of file