Add bit width of types to disassembleInstruction

This commit is contained in:
Jeff Bolz 2018-05-22 23:13:30 -05:00
parent c6d255396f
commit af7a94876c
43 changed files with 7980 additions and 7959 deletions

View file

@ -231,28 +231,28 @@ gl_FragCoord origin is upper left
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 64
7: TypePointer Function 6(float)
8: TypeVector 6(float) 2
9: TypePointer Function 8(fvec2)
10: TypeVector 6(float) 3
11: TypePointer Function 10(fvec3)
12: TypeVector 6(float) 4
13: TypePointer Function 12(fvec4)
7: TypePointer Function 6(float64_t)
8: TypeVector 6(float64_t) 2
9: TypePointer Function 8(f64vec2)
10: TypeVector 6(float64_t) 3
11: TypePointer Function 10(f64vec3)
12: TypeVector 6(float64_t) 4
13: TypePointer Function 12(f64vec4)
14: TypeInt 32 0
15: TypePointer Function 14(int)
16: TypeFloat 32
17: TypeFunction 16(float) 7(ptr) 7(ptr) 7(ptr) 9(ptr) 11(ptr) 13(ptr) 15(ptr) 15(ptr)
36: TypeVector 14(int) 2
39: 16(float) Constant 0
43: TypePointer Input 6(float)
43: TypePointer Input 6(float64_t)
44(inDV1a): 43(ptr) Variable Input
47(inDV1b): 43(ptr) Variable Input
50(inDV1c): 43(ptr) Variable Input
53: TypePointer Input 8(fvec2)
53: TypePointer Input 8(f64vec2)
54(inDV2): 53(ptr) Variable Input
57: TypePointer Input 10(fvec3)
57: TypePointer Input 10(f64vec3)
58(inDV3): 57(ptr) Variable Input
61: TypePointer Input 12(fvec4)
61: TypePointer Input 12(f64vec4)
62(inDV4): 61(ptr) Variable Input
65: TypePointer Input 14(int)
66(inU1a): 65(ptr) Variable Input
@ -277,33 +277,33 @@ gl_FragCoord origin is upper left
83(param): 13(ptr) Variable Function
85(param): 15(ptr) Variable Function
87(param): 15(ptr) Variable Function
45: 6(float) Load 44(inDV1a)
45:6(float64_t) Load 44(inDV1a)
Store 42(inDV1a) 45
48: 6(float) Load 47(inDV1b)
48:6(float64_t) Load 47(inDV1b)
Store 46(inDV1b) 48
51: 6(float) Load 50(inDV1c)
51:6(float64_t) Load 50(inDV1c)
Store 49(inDV1c) 51
55: 8(fvec2) Load 54(inDV2)
55: 8(f64vec2) Load 54(inDV2)
Store 52(inDV2) 55
59: 10(fvec3) Load 58(inDV3)
59: 10(f64vec3) Load 58(inDV3)
Store 56(inDV3) 59
63: 12(fvec4) Load 62(inDV4)
63: 12(f64vec4) Load 62(inDV4)
Store 60(inDV4) 63
67: 14(int) Load 66(inU1a)
Store 64(inU1a) 67
70: 14(int) Load 69(inU1b)
Store 68(inU1b) 70
74: 6(float) Load 42(inDV1a)
74:6(float64_t) Load 42(inDV1a)
Store 73(param) 74
76: 6(float) Load 46(inDV1b)
76:6(float64_t) Load 46(inDV1b)
Store 75(param) 76
78: 6(float) Load 49(inDV1c)
78:6(float64_t) Load 49(inDV1c)
Store 77(param) 78
80: 8(fvec2) Load 52(inDV2)
80: 8(f64vec2) Load 52(inDV2)
Store 79(param) 80
82: 10(fvec3) Load 56(inDV3)
82: 10(f64vec3) Load 56(inDV3)
Store 81(param) 82
84: 12(fvec4) Load 60(inDV4)
84: 12(f64vec4) Load 60(inDV4)
Store 83(param) 84
86: 14(int) Load 64(inU1a)
Store 85(param) 86
@ -325,15 +325,15 @@ gl_FragCoord origin is upper left
27: Label
28(r00): 7(ptr) Variable Function
33(r01): 7(ptr) Variable Function
29: 6(float) Load 18(inDV1a)
30: 6(float) Load 19(inDV1b)
31: 6(float) Load 20(inDV1c)
32: 6(float) ExtInst 1(GLSL.std.450) 50(Fma) 29 30 31
29:6(float64_t) Load 18(inDV1a)
30:6(float64_t) Load 19(inDV1b)
31:6(float64_t) Load 20(inDV1c)
32:6(float64_t) ExtInst 1(GLSL.std.450) 50(Fma) 29 30 31
Store 28(r00) 32
34: 14(int) Load 24(inU1a)
35: 14(int) Load 25(inU1b)
37: 36(ivec2) CompositeConstruct 34 35
38: 6(float) Bitcast 37
38:6(float64_t) Bitcast 37
Store 33(r01) 38
ReturnValue 39
FunctionEnd