• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.tpipBoxFilter.frag
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 43
5
6                              Capability Shader
7                              Capability TextureBoxFilterQCOM
8                              Extension  "SPV_QCOM_image_processing"
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint Fragment 4  "main" 15 27
12                              ExecutionMode 4 OriginUpperLeft
13                              Source GLSL 450
14                              SourceExtension  "GL_QCOM_image_processing"
15                              Name 4  "main"
16                              Name 9  "boxSize"
17                              Name 15  "fragColor"
18                              Name 18  "tex2D_src1"
19                              Name 22  "samp"
20                              Name 27  "v_texcoord"
21                              Name 33  "tex_samp"
22                              Name 41  "tex2DArray_weights"
23                              Name 42  "tex2D_src2"
24                              Decorate 15(fragColor) Location 0
25                              Decorate 18(tex2D_src1) DescriptorSet 0
26                              Decorate 18(tex2D_src1) Binding 1
27                              Decorate 22(samp) DescriptorSet 0
28                              Decorate 22(samp) Binding 3
29                              Decorate 27(v_texcoord) Location 0
30                              Decorate 33(tex_samp) DescriptorSet 0
31                              Decorate 33(tex_samp) Binding 4
32                              Decorate 41(tex2DArray_weights) DescriptorSet 0
33                              Decorate 41(tex2DArray_weights) Binding 0
34                              Decorate 42(tex2D_src2) DescriptorSet 0
35                              Decorate 42(tex2D_src2) Binding 2
36               2:             TypeVoid
37               3:             TypeFunction 2
38               6:             TypeFloat 32
39               7:             TypeVector 6(float) 2
40               8:             TypePointer Function 7(fvec2)
41              10:    6(float) Constant 1075838976
42              11:    6(float) Constant 1083179008
43              12:    7(fvec2) ConstantComposite 10 11
44              13:             TypeVector 6(float) 4
45              14:             TypePointer Output 13(fvec4)
46   15(fragColor):     14(ptr) Variable Output
47              16:             TypeImage 6(float) 2D sampled format:Unknown
48              17:             TypePointer UniformConstant 16
49  18(tex2D_src1):     17(ptr) Variable UniformConstant
50              20:             TypeSampler
51              21:             TypePointer UniformConstant 20
52        22(samp):     21(ptr) Variable UniformConstant
53              24:             TypeSampledImage 16
54              26:             TypePointer Input 13(fvec4)
55  27(v_texcoord):     26(ptr) Variable Input
56              32:             TypePointer UniformConstant 24
57    33(tex_samp):     32(ptr) Variable UniformConstant
58              39:             TypeImage 6(float) 2D array sampled format:Unknown
59              40:             TypePointer UniformConstant 39
6041(tex2DArray_weights):     40(ptr) Variable UniformConstant
61  42(tex2D_src2):     17(ptr) Variable UniformConstant
62         4(main):           2 Function None 3
63               5:             Label
64      9(boxSize):      8(ptr) Variable Function
65                              Store 9(boxSize) 12
66              19:          16 Load 18(tex2D_src1)
67              23:          20 Load 22(samp)
68              25:          24 SampledImage 19 23
69              28:   13(fvec4) Load 27(v_texcoord)
70              29:    7(fvec2) VectorShuffle 28 28 0 1
71              30:    7(fvec2) Load 9(boxSize)
72              31:   13(fvec4) ImageBoxFilterQCOM 25 29 30
73                              Store 15(fragColor) 31
74              34:          24 Load 33(tex_samp)
75              35:   13(fvec4) Load 27(v_texcoord)
76              36:    7(fvec2) VectorShuffle 35 35 0 1
77              37:    7(fvec2) Load 9(boxSize)
78              38:   13(fvec4) ImageBoxFilterQCOM 34 36 37
79                              Store 15(fragColor) 38
80                              Return
81                              FunctionEnd
82