| spv.1.6.samplerBuffer.frag |
| // Module Version 10600 |
| // Generated by (magic number): 8000b |
| // Id's are bound by 23 |
| |
| Capability Shader |
| Capability SampledBuffer |
| Capability ImageQuery |
| 1: ExtInstImport "GLSL.std.450" |
| MemoryModel Logical GLSL450 |
| EntryPoint Fragment 4 "main" 9 13 |
| ExecutionMode 4 OriginUpperLeft |
| Source GLSL 140 |
| Name 4 "main" |
| Name 9 "o" |
| Name 13 "sampB" |
| Decorate 9(o) Location 0 |
| Decorate 13(sampB) DescriptorSet 0 |
| Decorate 13(sampB) Binding 0 |
| 2: TypeVoid |
| 3: TypeFunction 2 |
| 6: TypeFloat 32 |
| 7: TypeVector 6(float) 4 |
| 8: TypePointer Output 7(fvec4) |
| 9(o): 8(ptr) Variable Output |
| 10: TypeInt 32 1 |
| 11: TypeImage 10(int) Buffer sampled format:Unknown |
| 12: TypePointer UniformConstant 11 |
| 13(sampB): 12(ptr) Variable UniformConstant |
| 17: 6(float) Constant 1120403456 |
| 19: TypeInt 32 0 |
| 20: 19(int) Constant 3 |
| 21: TypePointer Output 6(float) |
| 4(main): 2 Function None 3 |
| 5: Label |
| 14: 11 Load 13(sampB) |
| 15: 10(int) ImageQuerySize 14 |
| 16: 6(float) ConvertSToF 15 |
| 18: 6(float) FDiv 16 17 |
| 22: 21(ptr) AccessChain 9(o) 20 |
| Store 22 18 |
| Return |
| FunctionEnd |