summaryrefslogtreecommitdiff
path: root/builtins/ARB_texture_rectangle/textures
blob: 161d8c4a541348a320d14d56e686e4a97ea1c755 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
((function texture2DRect
   (signature vec4
     (parameters
       (declare (in) sampler2DRect sampler)
       (declare (in) vec2 P) )
     ((return (tex (var_ref sampler) (var_ref P) (0 0 0) 1 () ))))

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

))