diff options
Diffstat (limited to 'src/glsl/builtins/ir/findMSB.ir')
-rw-r--r-- | src/glsl/builtins/ir/findMSB.ir | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/glsl/builtins/ir/findMSB.ir b/src/glsl/builtins/ir/findMSB.ir new file mode 100644 index 00000000000..24e270f5e17 --- /dev/null +++ b/src/glsl/builtins/ir/findMSB.ir @@ -0,0 +1,41 @@ +((function findMSB + (signature int + (parameters + (declare (in) int value)) + ((return (expression int find_msb (var_ref value))))) + + (signature ivec2 + (parameters + (declare (in) ivec2 value)) + ((return (expression ivec2 find_msb (var_ref value))))) + + (signature ivec3 + (parameters + (declare (in) ivec3 value)) + ((return (expression ivec3 find_msb (var_ref value))))) + + (signature ivec4 + (parameters + (declare (in) ivec4 value)) + ((return (expression ivec4 find_msb (var_ref value))))) + + (signature int + (parameters + (declare (in) uint value)) + ((return (expression int find_msb (var_ref value))))) + + (signature ivec2 + (parameters + (declare (in) uvec2 value)) + ((return (expression ivec2 find_msb (var_ref value))))) + + (signature ivec3 + (parameters + (declare (in) uvec3 value)) + ((return (expression ivec3 find_msb (var_ref value))))) + + (signature ivec4 + (parameters + (declare (in) uvec4 value)) + ((return (expression ivec4 find_msb (var_ref value))))) +)) |