summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtins/ir/findLSB.ir
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/builtins/ir/findLSB.ir')
-rw-r--r--src/glsl/builtins/ir/findLSB.ir41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/glsl/builtins/ir/findLSB.ir b/src/glsl/builtins/ir/findLSB.ir
new file mode 100644
index 00000000000..2ddbb7f704d
--- /dev/null
+++ b/src/glsl/builtins/ir/findLSB.ir
@@ -0,0 +1,41 @@
+((function findLSB
+ (signature int
+ (parameters
+ (declare (in) int value))
+ ((return (expression int find_lsb (var_ref value)))))
+
+ (signature ivec2
+ (parameters
+ (declare (in) ivec2 value))
+ ((return (expression ivec2 find_lsb (var_ref value)))))
+
+ (signature ivec3
+ (parameters
+ (declare (in) ivec3 value))
+ ((return (expression ivec3 find_lsb (var_ref value)))))
+
+ (signature ivec4
+ (parameters
+ (declare (in) ivec4 value))
+ ((return (expression ivec4 find_lsb (var_ref value)))))
+
+ (signature int
+ (parameters
+ (declare (in) uint value))
+ ((return (expression int find_lsb (var_ref value)))))
+
+ (signature ivec2
+ (parameters
+ (declare (in) uvec2 value))
+ ((return (expression ivec2 find_lsb (var_ref value)))))
+
+ (signature ivec3
+ (parameters
+ (declare (in) uvec3 value))
+ ((return (expression ivec3 find_lsb (var_ref value)))))
+
+ (signature ivec4
+ (parameters
+ (declare (in) uvec4 value))
+ ((return (expression ivec4 find_lsb (var_ref value)))))
+))