mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 21:20:14 +01:00
16 lines
446 B
Text
16 lines
446 B
Text
((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)) ))))
|
|
|
|
))
|