1hlsl.multiDescriptorSet.frag 2// Module Version 10000 3// Generated by (magic number): 80007 4// Id's are bound by 92 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Fragment 4 "main" 78 82 86 10 ExecutionMode 4 OriginUpperLeft 11 Source HLSL 500 12 Name 4 "main" 13 Name 9 "PS_INPUT" 14 MemberName 9(PS_INPUT) 0 "Pos" 15 MemberName 9(PS_INPUT) 1 "Tex" 16 Name 13 "@main(struct-PS_INPUT-vf4-vf21;" 17 Name 12 "input" 18 Name 15 "output" 19 Name 23 "cbChangesEveryFrame" 20 MemberName 23(cbChangesEveryFrame) 0 "World" 21 MemberName 23(cbChangesEveryFrame) 1 "vMeshColor" 22 Name 25 "" 23 Name 34 "cbNeverChanges" 24 MemberName 34(cbNeverChanges) 0 "View" 25 Name 36 "" 26 Name 43 "cbChangeOnResize" 27 MemberName 43(cbChangeOnResize) 0 "Projection" 28 Name 45 "" 29 Name 59 "txDiffuseA" 30 Name 63 "samLinearA" 31 Name 76 "input" 32 Name 78 "input.Pos" 33 Name 82 "input.Tex" 34 Name 86 "@entryPointOutput" 35 Name 87 "param" 36 Name 90 "txDiffuseB" 37 Name 91 "samLinearB" 38 MemberDecorate 23(cbChangesEveryFrame) 0 RowMajor 39 MemberDecorate 23(cbChangesEveryFrame) 0 Offset 0 40 MemberDecorate 23(cbChangesEveryFrame) 0 MatrixStride 16 41 MemberDecorate 23(cbChangesEveryFrame) 1 Offset 64 42 Decorate 23(cbChangesEveryFrame) Block 43 Decorate 25 DescriptorSet 2 44 Decorate 25 Binding 2 45 MemberDecorate 34(cbNeverChanges) 0 RowMajor 46 MemberDecorate 34(cbNeverChanges) 0 Offset 0 47 MemberDecorate 34(cbNeverChanges) 0 MatrixStride 16 48 Decorate 34(cbNeverChanges) Block 49 Decorate 36 DescriptorSet 2 50 Decorate 36 Binding 0 51 MemberDecorate 43(cbChangeOnResize) 0 RowMajor 52 MemberDecorate 43(cbChangeOnResize) 0 Offset 0 53 MemberDecorate 43(cbChangeOnResize) 0 MatrixStride 16 54 Decorate 43(cbChangeOnResize) Block 55 Decorate 45 DescriptorSet 2 56 Decorate 45 Binding 1 57 Decorate 59(txDiffuseA) DescriptorSet 0 58 Decorate 59(txDiffuseA) Binding 0 59 Decorate 63(samLinearA) DescriptorSet 0 60 Decorate 63(samLinearA) Binding 1 61 Decorate 78(input.Pos) BuiltIn FragCoord 62 Decorate 82(input.Tex) Location 0 63 Decorate 86(@entryPointOutput) Location 0 64 Decorate 90(txDiffuseB) DescriptorSet 1 65 Decorate 90(txDiffuseB) Binding 0 66 Decorate 91(samLinearB) DescriptorSet 1 67 Decorate 91(samLinearB) Binding 1 68 2: TypeVoid 69 3: TypeFunction 2 70 6: TypeFloat 32 71 7: TypeVector 6(float) 4 72 8: TypeVector 6(float) 2 73 9(PS_INPUT): TypeStruct 7(fvec4) 8(fvec2) 74 10: TypePointer Function 9(PS_INPUT) 75 11: TypeFunction 7(fvec4) 10(ptr) 76 16: 6(float) Constant 0 77 17: 7(fvec4) ConstantComposite 16 16 16 16 78 18: 8(fvec2) ConstantComposite 16 16 79 19: 9(PS_INPUT) ConstantComposite 17 18 80 20: TypeInt 32 1 81 21: 20(int) Constant 0 82 22: TypeMatrix 7(fvec4) 4 8323(cbChangesEveryFrame): TypeStruct 22 7(fvec4) 84 24: TypePointer Uniform 23(cbChangesEveryFrame) 85 25: 24(ptr) Variable Uniform 86 26: TypePointer Uniform 22 87 29: TypePointer Function 7(fvec4) 8834(cbNeverChanges): TypeStruct 22 89 35: TypePointer Uniform 34(cbNeverChanges) 90 36: 35(ptr) Variable Uniform 9143(cbChangeOnResize): TypeStruct 22 92 44: TypePointer Uniform 43(cbChangeOnResize) 93 45: 44(ptr) Variable Uniform 94 52: 20(int) Constant 1 95 53: TypePointer Function 8(fvec2) 96 57: TypeImage 6(float) 2D sampled format:Unknown 97 58: TypePointer UniformConstant 57 98 59(txDiffuseA): 58(ptr) Variable UniformConstant 99 61: TypeSampler 100 62: TypePointer UniformConstant 61 101 63(samLinearA): 62(ptr) Variable UniformConstant 102 65: TypeSampledImage 57 103 70: TypePointer Uniform 7(fvec4) 104 77: TypePointer Input 7(fvec4) 105 78(input.Pos): 77(ptr) Variable Input 106 81: TypePointer Input 8(fvec2) 107 82(input.Tex): 81(ptr) Variable Input 108 85: TypePointer Output 7(fvec4) 10986(@entryPointOutput): 85(ptr) Variable Output 110 90(txDiffuseB): 58(ptr) Variable UniformConstant 111 91(samLinearB): 62(ptr) Variable UniformConstant 112 4(main): 2 Function None 3 113 5: Label 114 76(input): 10(ptr) Variable Function 115 87(param): 10(ptr) Variable Function 116 79: 7(fvec4) Load 78(input.Pos) 117 80: 29(ptr) AccessChain 76(input) 21 118 Store 80 79 119 83: 8(fvec2) Load 82(input.Tex) 120 84: 53(ptr) AccessChain 76(input) 52 121 Store 84 83 122 88: 9(PS_INPUT) Load 76(input) 123 Store 87(param) 88 124 89: 7(fvec4) FunctionCall 13(@main(struct-PS_INPUT-vf4-vf21;) 87(param) 125 Store 86(@entryPointOutput) 89 126 Return 127 FunctionEnd 12813(@main(struct-PS_INPUT-vf4-vf21;): 7(fvec4) Function None 11 129 12(input): 10(ptr) FunctionParameter 130 14: Label 131 15(output): 10(ptr) Variable Function 132 Store 15(output) 19 133 27: 26(ptr) AccessChain 25 21 134 28: 22 Load 27 135 30: 29(ptr) AccessChain 12(input) 21 136 31: 7(fvec4) Load 30 137 32: 7(fvec4) MatrixTimesVector 28 31 138 33: 29(ptr) AccessChain 15(output) 21 139 Store 33 32 140 37: 26(ptr) AccessChain 36 21 141 38: 22 Load 37 142 39: 29(ptr) AccessChain 15(output) 21 143 40: 7(fvec4) Load 39 144 41: 7(fvec4) MatrixTimesVector 38 40 145 42: 29(ptr) AccessChain 15(output) 21 146 Store 42 41 147 46: 26(ptr) AccessChain 45 21 148 47: 22 Load 46 149 48: 29(ptr) AccessChain 15(output) 21 150 49: 7(fvec4) Load 48 151 50: 7(fvec4) MatrixTimesVector 47 49 152 51: 29(ptr) AccessChain 15(output) 21 153 Store 51 50 154 54: 53(ptr) AccessChain 12(input) 52 155 55: 8(fvec2) Load 54 156 56: 53(ptr) AccessChain 15(output) 52 157 Store 56 55 158 60: 57 Load 59(txDiffuseA) 159 64: 61 Load 63(samLinearA) 160 66: 65 SampledImage 60 64 161 67: 53(ptr) AccessChain 15(output) 52 162 68: 8(fvec2) Load 67 163 69: 7(fvec4) ImageSampleImplicitLod 66 68 164 71: 70(ptr) AccessChain 25 52 165 72: 7(fvec4) Load 71 166 73: 7(fvec4) FMul 69 72 167 ReturnValue 73 168 FunctionEnd 169