summaryrefslogtreecommitdiff
path: root/src/glsl/builtins/110/noise_fake
blob: bcfb17b04b8d444b23606d6c5e5ac9fff71d51e9 (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
((function noise1
   (signature float
     (parameters
       (declare (in) float x))
     ((return (constant float (0)))))
   (signature float
     (parameters
       (declare (in) vec2 x))
     ((return (constant float (0)))))
   (signature float
     (parameters
       (declare (in) vec3 x))
     ((return (constant float (0)))))
   (signature float
     (parameters
       (declare (in) vec4 x))
     ((return (constant float (0)))))
 )

 (function noise2
   (signature vec2
     (parameters
       (declare (in) float x))
     ((return (constant vec2 (0 0)))))
   (signature vec2
     (parameters
       (declare (in) vec2 x))
     ((return (constant vec2 (0 0)))))
   (signature vec2
     (parameters
       (declare (in) vec3 x))
     ((return (constant vec2 (0 0)))))
   (signature vec2
     (parameters
       (declare (in) vec4 x))
     ((return (constant vec2 (0 0)))))
 )

 (function noise3
   (signature vec3
     (parameters
       (declare (in) float x))
     ((return (constant vec3 (0 0 0)))))
   (signature vec3
     (parameters
       (declare (in) vec2 x))
     ((return (constant vec3 (0 0 0)))))
   (signature vec3
     (parameters
       (declare (in) vec3 x))
     ((return (constant vec3 (0 0 0)))))
   (signature vec3
     (parameters
       (declare (in) vec4 x))
     ((return (constant vec3 (0 0 0)))))
 )

 (function noise4
   (signature vec4
     (parameters
       (declare (in) float x))
     ((return (constant vec4 (0 0 0 0)))))
   (signature vec4
     (parameters
       (declare (in) vec2 x))
     ((return (constant vec4 (0 0 0 0)))))
   (signature vec4
     (parameters
       (declare (in) vec3 x))
     ((return (constant vec4 (0 0 0 0)))))
   (signature vec4
     (parameters
       (declare (in) vec4 x))
     ((return (constant vec4 (0 0 0 0)))))
 )
)