summaryrefslogtreecommitdiff
path: root/src/glsl/builtins/EXT_texture_array/textures
blob: 8a91f90140198ed1c5e15b833e6b7b823c6c5657 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
((function texture1DArray
   (signature vec4
     (parameters
       (declare (in) sampler1DArray sampler)
       (declare (in) vec2 P) )
     ((return (tex (var_ref sampler) (var_ref P) (0 0 0) 1 () ))))

)
 (function texture1DArrayLod
   (signature vec4
     (parameters
       (declare (in) sampler1DArray sampler)
       (declare (in) vec2 P) 
       (declare (in) float lod) )
     ((return (txl (var_ref sampler) (var_ref P) (0 0 0) 1 () (var_ref lod) ))))

)
 (function texture2DArray
   (signature vec4
     (parameters
       (declare (in) sampler2DArray sampler)
       (declare (in) vec3 P) )
     ((return (tex (var_ref sampler) (var_ref P) (0 0 0) 1 () ))))

)
 (function texture2DArrayLod
   (signature vec4
     (parameters
       (declare (in) sampler2DArray sampler)
       (declare (in) vec3 P) 
       (declare (in) float lod) )
     ((return (txl (var_ref sampler) (var_ref P) (0 0 0) 1 () (var_ref lod) ))))

)
 (function shadow1DArray
   (signature vec4
     (parameters
       (declare (in) sampler1DArrayShadow sampler)
       (declare (in) vec3 P) )
     ((return (tex (var_ref sampler) (swiz xy (var_ref P)) (0 0 0) 1 (swiz z (var_ref P)) ))))

)
 (function shadow1DArrayLod
   (signature vec4
     (parameters
       (declare (in) sampler1DArrayShadow sampler)
       (declare (in) vec3 P) 
       (declare (in) float lod) )
     ((return (txl (var_ref sampler) (swiz xy (var_ref P)) (0 0 0) 1 (swiz z (var_ref P)) (var_ref lod) ))))

)
 (function shadow2DArray
   (signature vec4
     (parameters
       (declare (in) sampler2DArrayShadow sampler)
       (declare (in) vec4 P) )
     ((return (tex (var_ref sampler) (swiz xyz (var_ref P)) (0 0 0) 1 (swiz w (var_ref P)) ))))

))