1spv.shiftOps.frag 2// Module Version 10000 3// Generated by (magic number): 80007 4// Id's are bound by 38 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Fragment 4 "main" 9 11 15 25 27 30 10 ExecutionMode 4 OriginUpperLeft 11 Source GLSL 450 12 Name 4 "main" 13 Name 9 "icolor" 14 Name 11 "i3" 15 Name 15 "u1" 16 Name 25 "ucolor" 17 Name 27 "u3" 18 Name 30 "i1" 19 Decorate 11(i3) Flat 20 Decorate 15(u1) Flat 21 Decorate 27(u3) Flat 22 Decorate 30(i1) Flat 23 2: TypeVoid 24 3: TypeFunction 2 25 6: TypeInt 32 1 26 7: TypeVector 6(int) 3 27 8: TypePointer Output 7(ivec3) 28 9(icolor): 8(ptr) Variable Output 29 10: TypePointer Input 7(ivec3) 30 11(i3): 10(ptr) Variable Input 31 13: TypeInt 32 0 32 14: TypePointer Input 13(int) 33 15(u1): 14(ptr) Variable Input 34 17: TypeVector 13(int) 3 35 20: 13(int) Constant 4 36 24: TypePointer Output 17(ivec3) 37 25(ucolor): 24(ptr) Variable Output 38 26: TypePointer Input 17(ivec3) 39 27(u3): 26(ptr) Variable Input 40 29: TypePointer Input 6(int) 41 30(i1): 29(ptr) Variable Input 42 34: 6(int) Constant 5 43 4(main): 2 Function None 3 44 5: Label 45 12: 7(ivec3) Load 11(i3) 46 16: 13(int) Load 15(u1) 47 18: 17(ivec3) CompositeConstruct 16 16 16 48 19: 7(ivec3) ShiftLeftLogical 12 18 49 Store 9(icolor) 19 50 21: 7(ivec3) Load 9(icolor) 51 22: 17(ivec3) CompositeConstruct 20 20 20 52 23: 7(ivec3) ShiftLeftLogical 21 22 53 Store 9(icolor) 23 54 28: 17(ivec3) Load 27(u3) 55 31: 6(int) Load 30(i1) 56 32: 7(ivec3) CompositeConstruct 31 31 31 57 33: 17(ivec3) ShiftRightLogical 28 32 58 Store 25(ucolor) 33 59 35: 17(ivec3) Load 25(ucolor) 60 36: 7(ivec3) CompositeConstruct 34 34 34 61 37: 17(ivec3) ShiftRightLogical 35 36 62 Store 25(ucolor) 37 63 Return 64 FunctionEnd 65