1spv.shiftOps.frag 2// Module Version 10000 3// Generated by (magic number): 8000b 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 9(icolor) Location 0 20 Decorate 11(i3) Flat 21 Decorate 11(i3) Location 2 22 Decorate 15(u1) Flat 23 Decorate 15(u1) Location 1 24 Decorate 25(ucolor) Location 1 25 Decorate 27(u3) Flat 26 Decorate 27(u3) Location 3 27 Decorate 30(i1) Flat 28 Decorate 30(i1) Location 0 29 2: TypeVoid 30 3: TypeFunction 2 31 6: TypeInt 32 1 32 7: TypeVector 6(int) 3 33 8: TypePointer Output 7(ivec3) 34 9(icolor): 8(ptr) Variable Output 35 10: TypePointer Input 7(ivec3) 36 11(i3): 10(ptr) Variable Input 37 13: TypeInt 32 0 38 14: TypePointer Input 13(int) 39 15(u1): 14(ptr) Variable Input 40 17: TypeVector 13(int) 3 41 20: 13(int) Constant 4 42 24: TypePointer Output 17(ivec3) 43 25(ucolor): 24(ptr) Variable Output 44 26: TypePointer Input 17(ivec3) 45 27(u3): 26(ptr) Variable Input 46 29: TypePointer Input 6(int) 47 30(i1): 29(ptr) Variable Input 48 34: 6(int) Constant 5 49 4(main): 2 Function None 3 50 5: Label 51 12: 7(ivec3) Load 11(i3) 52 16: 13(int) Load 15(u1) 53 18: 17(ivec3) CompositeConstruct 16 16 16 54 19: 7(ivec3) ShiftLeftLogical 12 18 55 Store 9(icolor) 19 56 21: 7(ivec3) Load 9(icolor) 57 22: 17(ivec3) CompositeConstruct 20 20 20 58 23: 7(ivec3) ShiftLeftLogical 21 22 59 Store 9(icolor) 23 60 28: 17(ivec3) Load 27(u3) 61 31: 6(int) Load 30(i1) 62 32: 7(ivec3) CompositeConstruct 31 31 31 63 33: 17(ivec3) ShiftRightLogical 28 32 64 Store 25(ucolor) 33 65 35: 17(ivec3) Load 25(ucolor) 66 36: 7(ivec3) CompositeConstruct 34 34 34 67 37: 17(ivec3) ShiftRightLogical 35 36 68 Store 25(ucolor) 37 69 Return 70 FunctionEnd 71