• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1hlsl.depthGreater.frag
2Shader version: 500
3gl_FragCoord origin is upper left
4using depth_greater
50:? Sequence
60:2  Function Definition: @PixelShaderFunction(f1; ( temp void)
70:2    Function Parameters:
80:2      'depth' ( out float)
90:?     Sequence
100:3      move second child to first child ( temp float)
110:3        'depth' ( out float)
120:3        Constant:
130:3          0.200000
140:2  Function Definition: PixelShaderFunction( ( temp void)
150:2    Function Parameters:
160:?     Sequence
170:2      Function Call: @PixelShaderFunction(f1; ( temp void)
180:?         'depth' ( temp float)
190:2      move second child to first child ( temp float)
200:?         'depth' ( out float FragDepth)
210:?         'depth' ( temp float)
220:?   Linker Objects
230:?     'depth' ( out float FragDepth)
24
25
26Linked fragment stage:
27
28
29Shader version: 500
30gl_FragCoord origin is upper left
31using depth_greater
320:? Sequence
330:2  Function Definition: @PixelShaderFunction(f1; ( temp void)
340:2    Function Parameters:
350:2      'depth' ( out float)
360:?     Sequence
370:3      move second child to first child ( temp float)
380:3        'depth' ( out float)
390:3        Constant:
400:3          0.200000
410:2  Function Definition: PixelShaderFunction( ( temp void)
420:2    Function Parameters:
430:?     Sequence
440:2      Function Call: @PixelShaderFunction(f1; ( temp void)
450:?         'depth' ( temp float)
460:2      move second child to first child ( temp float)
470:?         'depth' ( out float FragDepth)
480:?         'depth' ( temp float)
490:?   Linker Objects
500:?     'depth' ( out float FragDepth)
51
52// Module Version 10000
53// Generated by (magic number): 80008
54// Id's are bound by 20
55
56                              Capability Shader
57               1:             ExtInstImport  "GLSL.std.450"
58                              MemoryModel Logical GLSL450
59                              EntryPoint Fragment 4  "PixelShaderFunction" 18
60                              ExecutionMode 4 OriginUpperLeft
61                              ExecutionMode 4 DepthReplacing
62                              ExecutionMode 4 DepthGreater
63                              Source HLSL 500
64                              Name 4  "PixelShaderFunction"
65                              Name 10  "@PixelShaderFunction(f1;"
66                              Name 9  "depth"
67                              Name 13  "depth"
68                              Name 14  "param"
69                              Name 18  "depth"
70                              Decorate 18(depth) BuiltIn FragDepth
71               2:             TypeVoid
72               3:             TypeFunction 2
73               6:             TypeFloat 32
74               7:             TypePointer Function 6(float)
75               8:             TypeFunction 2 7(ptr)
76              12:    6(float) Constant 1045220557
77              17:             TypePointer Output 6(float)
78       18(depth):     17(ptr) Variable Output
794(PixelShaderFunction):           2 Function None 3
80               5:             Label
81       13(depth):      7(ptr) Variable Function
82       14(param):      7(ptr) Variable Function
83              15:           2 FunctionCall 10(@PixelShaderFunction(f1;) 14(param)
84              16:    6(float) Load 14(param)
85                              Store 13(depth) 16
86              19:    6(float) Load 13(depth)
87                              Store 18(depth) 19
88                              Return
89                              FunctionEnd
9010(@PixelShaderFunction(f1;):           2 Function None 8
91        9(depth):      7(ptr) FunctionParameter
92              11:             Label
93                              Store 9(depth) 12
94                              Return
95                              FunctionEnd
96