mirror of
https://github.com/RPCS3/glslang.git
synced 2025-01-02 08:28:16 +00:00
133 lines
5.9 KiB
Plaintext
Executable File
133 lines
5.9 KiB
Plaintext
Executable File
hlsl.flattenOpaqueInit.vert
|
|
Shader version: 500
|
|
0:? Sequence
|
|
0:5 Function Definition: lookUp(struct-FxaaTex-p1-t211; ( temp 4-component vector of float)
|
|
0:5 Function Parameters:
|
|
0:? 'smpl' ( in sampler)
|
|
0:? 'tex' ( in texture2D)
|
|
0:? Sequence
|
|
0:6 Branch: Return with expression
|
|
0:6 texture ( temp 4-component vector of float)
|
|
0:6 Construct combined texture-sampler ( temp sampler2D)
|
|
0:? 'tex' ( in texture2D)
|
|
0:? 'smpl' ( in sampler)
|
|
0:? Constant:
|
|
0:? 0.300000
|
|
0:? 0.400000
|
|
0:10 Function Definition: @main( ( temp 4-component vector of float)
|
|
0:10 Function Parameters:
|
|
0:? Sequence
|
|
0:12 Branch: Return with expression
|
|
0:12 Function Call: lookUp(struct-FxaaTex-p1-t211; ( temp 4-component vector of float)
|
|
0:? 'g_tInputTexture_sampler' ( uniform sampler)
|
|
0:? 'g_tInputTexture' ( uniform texture2D)
|
|
0:10 Function Definition: main( ( temp void)
|
|
0:10 Function Parameters:
|
|
0:? Sequence
|
|
0:10 move second child to first child ( temp 4-component vector of float)
|
|
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
|
|
0:10 Function Call: @main( ( temp 4-component vector of float)
|
|
0:? Linker Objects
|
|
0:? 'g_tInputTexture_sampler' ( uniform sampler)
|
|
0:? 'g_tInputTexture' ( uniform texture2D)
|
|
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
|
|
|
|
|
|
Linked vertex stage:
|
|
|
|
|
|
Shader version: 500
|
|
0:? Sequence
|
|
0:5 Function Definition: lookUp(struct-FxaaTex-p1-t211; ( temp 4-component vector of float)
|
|
0:5 Function Parameters:
|
|
0:? 'smpl' ( in sampler)
|
|
0:? 'tex' ( in texture2D)
|
|
0:? Sequence
|
|
0:6 Branch: Return with expression
|
|
0:6 texture ( temp 4-component vector of float)
|
|
0:6 Construct combined texture-sampler ( temp sampler2D)
|
|
0:? 'tex' ( in texture2D)
|
|
0:? 'smpl' ( in sampler)
|
|
0:? Constant:
|
|
0:? 0.300000
|
|
0:? 0.400000
|
|
0:10 Function Definition: @main( ( temp 4-component vector of float)
|
|
0:10 Function Parameters:
|
|
0:? Sequence
|
|
0:12 Branch: Return with expression
|
|
0:12 Function Call: lookUp(struct-FxaaTex-p1-t211; ( temp 4-component vector of float)
|
|
0:? 'g_tInputTexture_sampler' ( uniform sampler)
|
|
0:? 'g_tInputTexture' ( uniform texture2D)
|
|
0:10 Function Definition: main( ( temp void)
|
|
0:10 Function Parameters:
|
|
0:? Sequence
|
|
0:10 move second child to first child ( temp 4-component vector of float)
|
|
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
|
|
0:10 Function Call: @main( ( temp 4-component vector of float)
|
|
0:? Linker Objects
|
|
0:? 'g_tInputTexture_sampler' ( uniform sampler)
|
|
0:? 'g_tInputTexture' ( uniform texture2D)
|
|
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
|
|
|
|
// Module Version 10000
|
|
// Generated by (magic number): 80001
|
|
// Id's are bound by 40
|
|
|
|
Capability Shader
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Vertex 4 "main" 38
|
|
Source HLSL 500
|
|
Name 4 "main"
|
|
Name 15 "lookUp(struct-FxaaTex-p1-t211;"
|
|
Name 13 "smpl"
|
|
Name 14 "tex"
|
|
Name 18 "@main("
|
|
Name 32 "g_tInputTexture_sampler"
|
|
Name 33 "g_tInputTexture"
|
|
Name 38 "@entryPointOutput"
|
|
Decorate 32(g_tInputTexture_sampler) DescriptorSet 0
|
|
Decorate 33(g_tInputTexture) DescriptorSet 0
|
|
Decorate 38(@entryPointOutput) Location 0
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
6: TypeSampler
|
|
7: TypePointer UniformConstant 6
|
|
8: TypeFloat 32
|
|
9: TypeImage 8(float) 2D sampled format:Unknown
|
|
10: TypePointer UniformConstant 9
|
|
11: TypeVector 8(float) 4
|
|
12: TypeFunction 11(fvec4) 7(ptr) 10(ptr)
|
|
17: TypeFunction 11(fvec4)
|
|
22: TypeSampledImage 9
|
|
24: TypeVector 8(float) 2
|
|
25: 8(float) Constant 1050253722
|
|
26: 8(float) Constant 1053609165
|
|
27: 24(fvec2) ConstantComposite 25 26
|
|
28: 8(float) Constant 0
|
|
32(g_tInputTexture_sampler): 7(ptr) Variable UniformConstant
|
|
33(g_tInputTexture): 10(ptr) Variable UniformConstant
|
|
37: TypePointer Output 11(fvec4)
|
|
38(@entryPointOutput): 37(ptr) Variable Output
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
39: 11(fvec4) FunctionCall 18(@main()
|
|
Store 38(@entryPointOutput) 39
|
|
Return
|
|
FunctionEnd
|
|
15(lookUp(struct-FxaaTex-p1-t211;): 11(fvec4) Function None 12
|
|
13(smpl): 7(ptr) FunctionParameter
|
|
14(tex): 10(ptr) FunctionParameter
|
|
16: Label
|
|
20: 9 Load 14(tex)
|
|
21: 6 Load 13(smpl)
|
|
23: 22 SampledImage 20 21
|
|
29: 11(fvec4) ImageSampleExplicitLod 23 27 Lod 28
|
|
ReturnValue 29
|
|
FunctionEnd
|
|
18(@main(): 11(fvec4) Function None 17
|
|
19: Label
|
|
34: 11(fvec4) FunctionCall 15(lookUp(struct-FxaaTex-p1-t211;) 32(g_tInputTexture_sampler) 33(g_tInputTexture)
|
|
ReturnValue 34
|
|
FunctionEnd
|