summaryrefslogtreecommitdiff
path: root/scriptc
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2013-12-03 01:10:30 -0800
committerStephen Hines <srhines@google.com>2013-12-03 01:16:03 -0800
commit07fe4ce39d02f4c1713ec260b944138a5ba9f72b (patch)
tree2226f97536941ef289edfa2404ed36fc7168d89c /scriptc
parent5f18e1fff21b8f4cee51fa1df4695ca4ee676334 (diff)
downloadrs-07fe4ce39d02f4c1713ec260b944138a5ba9f72b.tar.gz
Comment out unimplemented smoothstep() functions.
Change-Id: Ibe91ce559bc995e0f5ac61ed5dfbbe4cc393188d
Diffstat (limited to 'scriptc')
-rw-r--r--scriptc/rs_cl.rsh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scriptc/rs_cl.rsh b/scriptc/rs_cl.rsh
index 2ff5d8b7..7ba2cb64 100644
--- a/scriptc/rs_cl.rsh
+++ b/scriptc/rs_cl.rsh
@@ -926,7 +926,8 @@ _RS_RUNTIME float __attribute__((const, overloadable)) step(float edge, float v)
FN_FUNC_FN_FN(step)
FN_FUNC_FN_F(step)
-// not implemented
+// FIXME: not implemented
+#if 0
extern float __attribute__((const, overloadable)) smoothstep(float, float, float);
extern float2 __attribute__((const, overloadable)) smoothstep(float2, float2, float2);
extern float3 __attribute__((const, overloadable)) smoothstep(float3, float3, float3);
@@ -934,6 +935,7 @@ extern float4 __attribute__((const, overloadable)) smoothstep(float4, float4, fl
extern float2 __attribute__((const, overloadable)) smoothstep(float, float, float2);
extern float3 __attribute__((const, overloadable)) smoothstep(float, float, float3);
extern float4 __attribute__((const, overloadable)) smoothstep(float, float, float4);
+#endif
/**
* Return the sign of a value.