1hlsl.printf.comp 2Shader version: 500 3local_size = (1, 1, 1) 40:? Sequence 50:4 Function Definition: @main( ( temp void) 60:4 Function Parameters: 70:? Sequence 80:5 Debug printf ( temp void) 90:5 Constant: 100:5 "first string" 110:6 Debug printf ( temp void) 120:6 Constant: 130:6 "please print this message." 140:7 Debug printf ( temp void) 150:7 Constant: 160:7 "Variables are: %d %d %.2f" 170:7 Constant: 180:7 1 (const uint) 190:7 Constant: 200:7 2 (const uint) 210:7 Constant: 220:7 1.500000 230:8 Debug printf ( temp void) 240:8 Constant: 250:8 "Integers are: %d %d %d" 260:8 Constant: 270:8 1 (const int) 280:8 Constant: 290:8 2 (const int) 300:8 Constant: 310:8 3 (const int) 320:9 Debug printf ( temp void) 330:9 Constant: 340:9 "More: %d %d %d %d %d %d %d %d %d %d" 350:9 Constant: 360:9 1 (const int) 370:9 Constant: 380:9 2 (const int) 390:9 Constant: 400:9 3 (const int) 410:9 Constant: 420:9 4 (const int) 430:9 Constant: 440:9 5 (const int) 450:9 Constant: 460:9 6 (const int) 470:9 Constant: 480:9 7 (const int) 490:9 Constant: 500:9 8 (const int) 510:9 Constant: 520:9 9 (const int) 530:9 Constant: 540:9 10 (const int) 550:4 Function Definition: main( ( temp void) 560:4 Function Parameters: 570:? Sequence 580:4 Function Call: @main( ( temp void) 590:? Linker Objects 600:? 'first' ( const string) 610:? "first string" 62 63 64Linked compute stage: 65 66 67Shader version: 500 68local_size = (1, 1, 1) 690:? Sequence 700:4 Function Definition: @main( ( temp void) 710:4 Function Parameters: 720:? Sequence 730:5 Debug printf ( temp void) 740:5 Constant: 750:5 "first string" 760:6 Debug printf ( temp void) 770:6 Constant: 780:6 "please print this message." 790:7 Debug printf ( temp void) 800:7 Constant: 810:7 "Variables are: %d %d %.2f" 820:7 Constant: 830:7 1 (const uint) 840:7 Constant: 850:7 2 (const uint) 860:7 Constant: 870:7 1.500000 880:8 Debug printf ( temp void) 890:8 Constant: 900:8 "Integers are: %d %d %d" 910:8 Constant: 920:8 1 (const int) 930:8 Constant: 940:8 2 (const int) 950:8 Constant: 960:8 3 (const int) 970:9 Debug printf ( temp void) 980:9 Constant: 990:9 "More: %d %d %d %d %d %d %d %d %d %d" 1000:9 Constant: 1010:9 1 (const int) 1020:9 Constant: 1030:9 2 (const int) 1040:9 Constant: 1050:9 3 (const int) 1060:9 Constant: 1070:9 4 (const int) 1080:9 Constant: 1090:9 5 (const int) 1100:9 Constant: 1110:9 6 (const int) 1120:9 Constant: 1130:9 7 (const int) 1140:9 Constant: 1150:9 8 (const int) 1160:9 Constant: 1170:9 9 (const int) 1180:9 Constant: 1190:9 10 (const int) 1200:4 Function Definition: main( ( temp void) 1210:4 Function Parameters: 1220:? Sequence 1230:4 Function Call: @main( ( temp void) 1240:? Linker Objects 1250:? 'first' ( const string) 1260:? "first string" 127 128// Module Version 10000 129// Generated by (magic number): 8000a 130// Id's are bound by 36 131 132 Capability Shader 133 Extension "SPV_KHR_non_semantic_info" 134 1: ExtInstImport "GLSL.std.450" 135 9: ExtInstImport "NonSemantic.DebugPrintf" 136 MemoryModel Logical GLSL450 137 EntryPoint GLCompute 4 "main" 138 ExecutionMode 4 LocalSize 1 1 1 139 8: String "first string" 140 11: String "please print this message." 141 13: String "Variables are: %d %d %.2f" 142 20: String "Integers are: %d %d %d" 143 26: String "More: %d %d %d %d %d %d %d %d %d %d" 144 Source HLSL 500 145 Name 4 "main" 146 Name 6 "@main(" 147 2: TypeVoid 148 3: TypeFunction 2 149 14: TypeInt 32 0 150 15: 14(int) Constant 1 151 16: 14(int) Constant 2 152 17: TypeFloat 32 153 18: 17(float) Constant 1069547520 154 21: TypeInt 32 1 155 22: 21(int) Constant 1 156 23: 21(int) Constant 2 157 24: 21(int) Constant 3 158 27: 21(int) Constant 4 159 28: 21(int) Constant 5 160 29: 21(int) Constant 6 161 30: 21(int) Constant 7 162 31: 21(int) Constant 8 163 32: 21(int) Constant 9 164 33: 21(int) Constant 10 165 4(main): 2 Function None 3 166 5: Label 167 35: 2 FunctionCall 6(@main() 168 Return 169 FunctionEnd 170 6(@main(): 2 Function None 3 171 7: Label 172 10: 2 ExtInst 9(NonSemantic.DebugPrintf) 1(DebugPrintf) 8 173 12: 2 ExtInst 9(NonSemantic.DebugPrintf) 1(DebugPrintf) 11 174 19: 2 ExtInst 9(NonSemantic.DebugPrintf) 1(DebugPrintf) 13 15 16 18 175 25: 2 ExtInst 9(NonSemantic.DebugPrintf) 1(DebugPrintf) 20 22 23 24 176 34: 2 ExtInst 9(NonSemantic.DebugPrintf) 1(DebugPrintf) 26 22 23 24 27 28 29 30 31 32 33 177 Return 178 FunctionEnd 179