blob: 9552ee2b08f2d107da920eb3b231f24fece6b19d [file] [log] [blame]
hlsl.matType.frag
Shader version: 500
gl_FragCoord origin is upper left
0:? Sequence
0:9 Function Definition: @ShaderFunction(vf1;f1; ( temp 1-component vector of float)
0:9 Function Parameters:
0:9 'inFloat1' ( in 1-component vector of float)
0:9 'inScalar' ( in float)
0:? Sequence
0:10 Branch: Return with expression
0:10 'inFloat1' ( in 1-component vector of float)
0:9 Function Definition: ShaderFunction( ( temp void)
0:9 Function Parameters:
0:? Sequence
0:9 move second child to first child ( temp 1-component vector of float)
0:? 'inFloat1' ( temp 1-component vector of float)
0:? 'inFloat1' (layout( location=0) in 1-component vector of float)
0:9 move second child to first child ( temp float)
0:? 'inScalar' ( temp float)
0:? 'inScalar' (layout( location=1) in float)
0:9 move second child to first child ( temp 1-component vector of float)
0:? '@entryPointOutput' (layout( location=0) out 1-component vector of float)
0:9 Function Call: @ShaderFunction(vf1;f1; ( temp 1-component vector of float)
0:? 'inFloat1' ( temp 1-component vector of float)
0:? 'inScalar' ( temp float)
0:? Linker Objects
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 1-component vector of float f1, uniform 1X1 matrix of float fmat11, uniform 4X1 matrix of float fmat41, uniform 1X2 matrix of float fmat12, uniform 2X3 matrix of double dmat23, uniform 4X4 matrix of int int44})
0:? '@entryPointOutput' (layout( location=0) out 1-component vector of float)
0:? 'inFloat1' (layout( location=0) in 1-component vector of float)
0:? 'inScalar' (layout( location=1) in float)
Linked fragment stage:
Shader version: 500
gl_FragCoord origin is upper left
0:? Sequence
0:9 Function Definition: @ShaderFunction(vf1;f1; ( temp 1-component vector of float)
0:9 Function Parameters:
0:9 'inFloat1' ( in 1-component vector of float)
0:9 'inScalar' ( in float)
0:? Sequence
0:10 Branch: Return with expression
0:10 'inFloat1' ( in 1-component vector of float)
0:9 Function Definition: ShaderFunction( ( temp void)
0:9 Function Parameters:
0:? Sequence
0:9 move second child to first child ( temp 1-component vector of float)
0:? 'inFloat1' ( temp 1-component vector of float)
0:? 'inFloat1' (layout( location=0) in 1-component vector of float)
0:9 move second child to first child ( temp float)
0:? 'inScalar' ( temp float)
0:? 'inScalar' (layout( location=1) in float)
0:9 move second child to first child ( temp 1-component vector of float)
0:? '@entryPointOutput' (layout( location=0) out 1-component vector of float)
0:9 Function Call: @ShaderFunction(vf1;f1; ( temp 1-component vector of float)
0:? 'inFloat1' ( temp 1-component vector of float)
0:? 'inScalar' ( temp float)
0:? Linker Objects
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 1-component vector of float f1, uniform 1X1 matrix of float fmat11, uniform 4X1 matrix of float fmat41, uniform 1X2 matrix of float fmat12, uniform 2X3 matrix of double dmat23, uniform 4X4 matrix of int int44})
0:? '@entryPointOutput' (layout( location=0) out 1-component vector of float)
0:? 'inFloat1' (layout( location=0) in 1-component vector of float)
0:? 'inScalar' (layout( location=1) in float)
Validation failed
// Module Version 10000
// Generated by (magic number): 80008
// Id's are bound by 44
Capability Shader
Capability Float64
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "ShaderFunction" 18 21 24
ExecutionMode 4 OriginUpperLeft
Source HLSL 500
Name 4 "ShaderFunction"
Name 11 "@ShaderFunction(vf1;f1;"
Name 9 "inFloat1"
Name 10 "inScalar"
Name 16 "inFloat1"
Name 18 "inFloat1"
Name 20 "inScalar"
Name 21 "inScalar"
Name 24 "@entryPointOutput"
Name 25 "param"
Name 27 "param"
Name 41 "$Global"
MemberName 41($Global) 0 "f1"
MemberName 41($Global) 1 "fmat11"
MemberName 41($Global) 2 "fmat41"
MemberName 41($Global) 3 "fmat12"
MemberName 41($Global) 4 "dmat23"
MemberName 41($Global) 5 "int44"
Name 43 ""
Decorate 18(inFloat1) Location 0
Decorate 21(inScalar) Location 1
Decorate 24(@entryPointOutput) Location 0
MemberDecorate 41($Global) 0 Offset 0
MemberDecorate 41($Global) 1 RowMajor
MemberDecorate 41($Global) 1 Offset 16
MemberDecorate 41($Global) 1 MatrixStride 16
MemberDecorate 41($Global) 2 RowMajor
MemberDecorate 41($Global) 2 Offset 32
MemberDecorate 41($Global) 2 MatrixStride 16
MemberDecorate 41($Global) 3 RowMajor
MemberDecorate 41($Global) 3 Offset 48
MemberDecorate 41($Global) 3 MatrixStride 16
MemberDecorate 41($Global) 4 RowMajor
MemberDecorate 41($Global) 4 Offset 80
MemberDecorate 41($Global) 4 MatrixStride 16
MemberDecorate 41($Global) 5 RowMajor
MemberDecorate 41($Global) 5 Offset 128
MemberDecorate 41($Global) 5 MatrixStride 16
Decorate 41($Global) Block
Decorate 43 DescriptorSet 0
Decorate 43 Binding 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypePointer Function 6(float)
8: TypeFunction 6(float) 7(ptr) 7(ptr)
17: TypePointer Input 6(float)
18(inFloat1): 17(ptr) Variable Input
21(inScalar): 17(ptr) Variable Input
23: TypePointer Output 6(float)
24(@entryPointOutput): 23(ptr) Variable Output
30: TypeVector 6(float) 1
31: TypeMatrix 30(fvec) 1
32: TypeMatrix 30(fvec) 4
33: TypeVector 6(float) 2
34: TypeMatrix 33(fvec2) 1
35: TypeFloat 64
36: TypeVector 35(float64_t) 3
37: TypeMatrix 36(f64vec3) 2
38: TypeInt 32 1
39: TypeVector 38(int) 4
40: TypeMatrix 39(ivec4) 4
41($Global): TypeStruct 6(float) 31 32 34 37 40
42: TypePointer Uniform 41($Global)
43: 42(ptr) Variable Uniform
4(ShaderFunction): 2 Function None 3
5: Label
16(inFloat1): 7(ptr) Variable Function
20(inScalar): 7(ptr) Variable Function
25(param): 7(ptr) Variable Function
27(param): 7(ptr) Variable Function
19: 6(float) Load 18(inFloat1)
Store 16(inFloat1) 19
22: 6(float) Load 21(inScalar)
Store 20(inScalar) 22
26: 6(float) Load 16(inFloat1)
Store 25(param) 26
28: 6(float) Load 20(inScalar)
Store 27(param) 28
29: 6(float) FunctionCall 11(@ShaderFunction(vf1;f1;) 25(param) 27(param)
Store 24(@entryPointOutput) 29
Return
FunctionEnd
11(@ShaderFunction(vf1;f1;): 6(float) Function None 8
9(inFloat1): 7(ptr) FunctionParameter
10(inScalar): 7(ptr) FunctionParameter
12: Label
13: 6(float) Load 9(inFloat1)
ReturnValue 13
FunctionEnd