summaryrefslogtreecommitdiffstats
path: root/scriptc/rs_math.rsh
diff options
context:
space:
mode:
Diffstat (limited to 'scriptc/rs_math.rsh')
-rw-r--r--scriptc/rs_math.rsh18
1 files changed, 18 insertions, 0 deletions
diff --git a/scriptc/rs_math.rsh b/scriptc/rs_math.rsh
index 91258541..9b39680d 100644
--- a/scriptc/rs_math.rsh
+++ b/scriptc/rs_math.rsh
@@ -1630,6 +1630,15 @@ extern float3 __attribute__((const, overloadable))
extern float4 __attribute__((const, overloadable))
max(float4 a, float4 b);
+extern float2 __attribute__((const, overloadable))
+ max(float2 a, float b);
+
+extern float3 __attribute__((const, overloadable))
+ max(float3 a, float b);
+
+extern float4 __attribute__((const, overloadable))
+ max(float4 a, float b);
+
#if !defined(RS_VERSION) || (RS_VERSION <= 20)
static inline char __attribute__((const, overloadable))
max(char a, char b) {
@@ -2047,6 +2056,15 @@ extern float3 __attribute__((const, overloadable))
extern float4 __attribute__((const, overloadable))
min(float4 a, float4 b);
+extern float2 __attribute__((const, overloadable))
+ min(float2 a, float b);
+
+extern float3 __attribute__((const, overloadable))
+ min(float3 a, float b);
+
+extern float4 __attribute__((const, overloadable))
+ min(float4 a, float b);
+
#if !defined(RS_VERSION) || (RS_VERSION <= 20)
static inline char __attribute__((const, overloadable))
min(char a, char b) {