Add bit width of types to disassembleInstruction
This commit is contained in:
@@ -21,9 +21,9 @@ spv.rankShift.comp
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeInt 64 0
|
||||
7: TypePointer Function 6(int)
|
||||
7: TypePointer Function 6(int64_t)
|
||||
9: TypeInt 64 1
|
||||
10: TypePointer UniformConstant 9(int)
|
||||
10: TypePointer UniformConstant 9(int64_t)
|
||||
11(arg0): 10(ptr) Variable UniformConstant
|
||||
13: TypeInt 32 0
|
||||
14: TypePointer UniformConstant 13(int)
|
||||
@@ -35,23 +35,23 @@ spv.rankShift.comp
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
8(result): 7(ptr) Variable Function
|
||||
12: 9(int) Load 11(arg0)
|
||||
12: 9(int64_t) Load 11(arg0)
|
||||
16: 13(int) Load 15(arg1)
|
||||
17: 9(int) ShiftLeftLogical 12 16
|
||||
18: 6(int) Bitcast 17
|
||||
17: 9(int64_t) ShiftLeftLogical 12 16
|
||||
18: 6(int64_t) Bitcast 17
|
||||
Store 8(result) 18
|
||||
19: 9(int) Load 11(arg0)
|
||||
19: 9(int64_t) Load 11(arg0)
|
||||
20: 13(int) Load 15(arg1)
|
||||
21: 9(int) ShiftRightArithmetic 19 20
|
||||
22: 6(int) Bitcast 21
|
||||
21: 9(int64_t) ShiftRightArithmetic 19 20
|
||||
22: 6(int64_t) Bitcast 21
|
||||
Store 8(result) 22
|
||||
23: 13(int) Load 15(arg1)
|
||||
24: 6(int) Load 8(result)
|
||||
25: 6(int) ShiftLeftLogical 24 23
|
||||
24: 6(int64_t) Load 8(result)
|
||||
25: 6(int64_t) ShiftLeftLogical 24 23
|
||||
Store 8(result) 25
|
||||
26: 13(int) Load 15(arg1)
|
||||
27: 6(int) Load 8(result)
|
||||
28: 6(int) ShiftRightLogical 27 26
|
||||
27: 6(int64_t) Load 8(result)
|
||||
28: 6(int64_t) ShiftRightLogical 27 26
|
||||
Store 8(result) 28
|
||||
Return
|
||||
FunctionEnd
|
||||
|
||||
Reference in New Issue
Block a user