diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-05-06 00:46:50 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-05-06 00:47:22 +0300 |
commit | 37ad451b8ee0d23dfe2a37897862231c3683fc0d (patch) | |
tree | f8faa7392a2bc6c5c96a4cf9b1c492b10cc71818 /intern/cycles/render/nodes.cpp | |
parent | 9b89071c9cdd2a341ba16db44cd4625303fb6e2f (diff) |
Cycles: Comment out unused function arguments
Diffstat (limited to 'intern/cycles/render/nodes.cpp')
-rw-r--r-- | intern/cycles/render/nodes.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/intern/cycles/render/nodes.cpp b/intern/cycles/render/nodes.cpp index 488673a05a3..7066164ac05 100644 --- a/intern/cycles/render/nodes.cpp +++ b/intern/cycles/render/nodes.cpp @@ -1544,7 +1544,9 @@ ConvertNode::ConvertNode(ShaderSocketType from_, ShaderSocketType to_, bool auto assert(0); } -bool ConvertNode::constant_fold(ShaderGraph *graph, ShaderOutput *socket, float3 *optimized_value) +bool ConvertNode::constant_fold(ShaderGraph * /*graph*/, + ShaderOutput * /*socket*/, + float3 *optimized_value) { ShaderInput *in = inputs[0]; float3 value = in->value; @@ -4264,7 +4266,9 @@ void BumpNode::compile(OSLCompiler& compiler) compiler.add(this, "node_bump"); } -bool BumpNode::constant_fold(ShaderGraph *graph, ShaderOutput *socket, float3 *optimized_value) +bool BumpNode::constant_fold(ShaderGraph *graph, + ShaderOutput * /*socket*/, + float3 * /*optimized_value*/) { ShaderInput *height_in = input("Height"); ShaderInput *normal_in = input("Normal"); |