mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-19 17:26:39 +00:00
58 lines
1.9 KiB
Plaintext
Executable File
58 lines
1.9 KiB
Plaintext
Executable File
hlsl.depthGreater.frag
|
|
Shader version: 450
|
|
gl_FragCoord origin is upper left
|
|
using depth_greater
|
|
0:? Sequence
|
|
0:2 Function Definition: PixelShaderFunction(f1; (global void)
|
|
0:2 Function Parameters:
|
|
0:2 'depth' (out float FragDepth)
|
|
0:? Sequence
|
|
0:3 move second child to first child (temp float)
|
|
0:3 'depth' (out float FragDepth)
|
|
0:3 Constant:
|
|
0:3 0.200000
|
|
0:? Linker Objects
|
|
|
|
|
|
Linked fragment stage:
|
|
|
|
|
|
Shader version: 450
|
|
gl_FragCoord origin is upper left
|
|
using depth_greater
|
|
0:? Sequence
|
|
0:2 Function Definition: PixelShaderFunction(f1; (global void)
|
|
0:2 Function Parameters:
|
|
0:2 'depth' (out float FragDepth)
|
|
0:? Sequence
|
|
0:3 move second child to first child (temp float)
|
|
0:3 'depth' (out float FragDepth)
|
|
0:3 Constant:
|
|
0:3 0.200000
|
|
0:? Linker Objects
|
|
|
|
// Module Version 10000
|
|
// Generated by (magic number): 80001
|
|
// Id's are bound by 10
|
|
|
|
Capability Shader
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 4 "PixelShaderFunction" 8
|
|
ExecutionMode 4 OriginUpperLeft
|
|
ExecutionMode 4 DepthGreater
|
|
Name 4 "PixelShaderFunction"
|
|
Name 8 "depth"
|
|
Decorate 8(depth) BuiltIn FragDepth
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
6: TypeFloat 32
|
|
7: TypePointer Output 6(float)
|
|
8(depth): 7(ptr) Variable Output
|
|
9: 6(float) Constant 1045220557
|
|
4(PixelShaderFunction): 2 Function None 3
|
|
5: Label
|
|
Store 8(depth) 9
|
|
Return
|
|
FunctionEnd
|