This patch tries to attach debug location of a branch/return instruction to its predecessor or the closing brace. If none could be found, no debug info should be emitted.
72 lines
2.7 KiB
Text
72 lines
2.7 KiB
Text
hlsl.round.dx9.frag
|
|
Shader version: 500
|
|
gl_FragCoord origin is upper left
|
|
0:? Sequence
|
|
0:2 Function Definition: PixelShaderFunction(vf4; ( temp 4-component vector of float)
|
|
0:2 Function Parameters:
|
|
0:2 'input' ( in 4-component vector of float)
|
|
0:? Sequence
|
|
0:3 Branch: Return with expression
|
|
0:3 round ( temp 4-component vector of float)
|
|
0:3 'input' ( in 4-component vector of float)
|
|
0:? Linker Objects
|
|
|
|
|
|
Linked fragment stage:
|
|
|
|
WARNING: Linking fragment stage: Entry point not found
|
|
|
|
Shader version: 500
|
|
gl_FragCoord origin is upper left
|
|
0:? Sequence
|
|
0:2 Function Definition: PixelShaderFunction(vf4; ( temp 4-component vector of float)
|
|
0:2 Function Parameters:
|
|
0:2 'input' ( in 4-component vector of float)
|
|
0:? Sequence
|
|
0:3 Branch: Return with expression
|
|
0:3 round ( temp 4-component vector of float)
|
|
0:3 'input' ( in 4-component vector of float)
|
|
0:? Linker Objects
|
|
|
|
// Module Version 10000
|
|
// Generated by (magic number): 8000b
|
|
// Id's are bound by 18
|
|
|
|
Capability Shader
|
|
2: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 5 "main"
|
|
ExecutionMode 5 OriginUpperLeft
|
|
1: String ""
|
|
Source HLSL 500 1 "// OpModuleProcessed auto-map-locations
|
|
// OpModuleProcessed auto-map-bindings
|
|
// OpModuleProcessed entry-point main
|
|
// OpModuleProcessed client vulkan100
|
|
// OpModuleProcessed target-env vulkan1.0
|
|
// OpModuleProcessed keep-uncalled
|
|
// OpModuleProcessed hlsl-offsets
|
|
#line 1
|
|
"
|
|
Name 5 "main"
|
|
Name 12 "PixelShaderFunction(vf4;"
|
|
Name 11 "input"
|
|
3: TypeVoid
|
|
4: TypeFunction 3
|
|
7: TypeFloat 32
|
|
8: TypeVector 7(float) 4
|
|
9: TypePointer Function 8(fvec4)
|
|
10: TypeFunction 8(fvec4) 9(ptr)
|
|
5(main): 3 Function None 4
|
|
6: Label
|
|
Line 1 3 0
|
|
Return
|
|
FunctionEnd
|
|
Line 1 2 1
|
|
12(PixelShaderFunction(vf4;): 8(fvec4) Function None 10
|
|
11(input): 9(ptr) FunctionParameter
|
|
13: Label
|
|
Line 1 3 0
|
|
14: 8(fvec4) Load 11(input)
|
|
15: 8(fvec4) ExtInst 2(GLSL.std.450) 1(Round) 14
|
|
ReturnValue 15
|
|
FunctionEnd
|