• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1glsl.autosampledtextures.frag
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 23
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Fragment 4  "main" 17 21
10                              ExecutionMode 4 OriginUpperLeft
11                              Source GLSL 460
12                              Name 4  "main"
13                              Name 9  "color"
14                              Name 13  "u_Tex"
15                              Name 17  "in_UV"
16                              Name 21  "out_Color"
17                              Decorate 13(u_Tex) DescriptorSet 0
18                              Decorate 13(u_Tex) Binding 0
19                              Decorate 17(in_UV) Location 0
20                              Decorate 21(out_Color) Location 0
21               2:             TypeVoid
22               3:             TypeFunction 2
23               6:             TypeFloat 32
24               7:             TypeVector 6(float) 4
25               8:             TypePointer Function 7(fvec4)
26              10:             TypeImage 6(float) 2D sampled format:Unknown
27              11:             TypeSampledImage 10
28              12:             TypePointer UniformConstant 11
29       13(u_Tex):     12(ptr) Variable UniformConstant
30              15:             TypeVector 6(float) 2
31              16:             TypePointer Input 15(fvec2)
32       17(in_UV):     16(ptr) Variable Input
33              20:             TypePointer Output 7(fvec4)
34   21(out_Color):     20(ptr) Variable Output
35         4(main):           2 Function None 3
36               5:             Label
37        9(color):      8(ptr) Variable Function
38              14:          11 Load 13(u_Tex)
39              18:   15(fvec2) Load 17(in_UV)
40              19:    7(fvec4) ImageSampleImplicitLod 14 18
41                              Store 9(color) 19
42              22:    7(fvec4) Load 9(color)
43                              Store 21(out_Color) 22
44                              Return
45                              FunctionEnd
46