summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtins/ir/equal.ir
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/builtins/ir/equal.ir')
-rw-r--r--src/glsl/builtins/ir/equal.ir73
1 files changed, 73 insertions, 0 deletions
diff --git a/src/glsl/builtins/ir/equal.ir b/src/glsl/builtins/ir/equal.ir
new file mode 100644
index 00000000000..a414b3e535f
--- /dev/null
+++ b/src/glsl/builtins/ir/equal.ir
@@ -0,0 +1,73 @@
+((function equal
+ (signature bvec2
+ (parameters
+ (declare (in) vec2 arg0)
+ (declare (in) vec2 arg1))
+ ((return (expression bvec2 == (var_ref arg0) (var_ref arg1)))))
+
+ (signature bvec3
+ (parameters
+ (declare (in) vec3 arg0)
+ (declare (in) vec3 arg1))
+ ((return (expression bvec3 == (var_ref arg0) (var_ref arg1)))))
+
+ (signature bvec4
+ (parameters
+ (declare (in) vec4 arg0)
+ (declare (in) vec4 arg1))
+ ((return (expression bvec4 == (var_ref arg0) (var_ref arg1)))))
+
+ (signature bvec2
+ (parameters
+ (declare (in) bvec2 arg0)
+ (declare (in) bvec2 arg1))
+ ((return (expression bvec2 == (var_ref arg0) (var_ref arg1)))))
+
+ (signature bvec3
+ (parameters
+ (declare (in) bvec3 arg0)
+ (declare (in) bvec3 arg1))
+ ((return (expression bvec3 == (var_ref arg0) (var_ref arg1)))))
+
+ (signature bvec4
+ (parameters
+ (declare (in) bvec4 arg0)
+ (declare (in) bvec4 arg1))
+ ((return (expression bvec4 == (var_ref arg0) (var_ref arg1)))))
+
+ (signature bvec2
+ (parameters
+ (declare (in) ivec2 arg0)
+ (declare (in) ivec2 arg1))
+ ((return (expression bvec2 == (var_ref arg0) (var_ref arg1)))))
+
+ (signature bvec3
+ (parameters
+ (declare (in) ivec3 arg0)
+ (declare (in) ivec3 arg1))
+ ((return (expression bvec3 == (var_ref arg0) (var_ref arg1)))))
+
+ (signature bvec4
+ (parameters
+ (declare (in) ivec4 arg0)
+ (declare (in) ivec4 arg1))
+ ((return (expression bvec4 == (var_ref arg0) (var_ref arg1)))))
+
+ (signature bvec2
+ (parameters
+ (declare (in) uvec2 arg0)
+ (declare (in) uvec2 arg1))
+ ((return (expression bvec2 == (var_ref arg0) (var_ref arg1)))))
+
+ (signature bvec3
+ (parameters
+ (declare (in) uvec3 arg0)
+ (declare (in) uvec3 arg1))
+ ((return (expression bvec3 == (var_ref arg0) (var_ref arg1)))))
+
+ (signature bvec4
+ (parameters
+ (declare (in) uvec4 arg0)
+ (declare (in) uvec4 arg1))
+ ((return (expression bvec4 == (var_ref arg0) (var_ref arg1)))))
+))