Fix T53001: more workarounds for crash in AMD compiler with recent drivers.
[blender-staging.git] / intern / cycles / kernel / svm / svm_blackbody.h
index b750ad87b7fbcba36cb966f1bc3f5ddd03823c7d..51590b18505ee6a836122e355469fdfef8a796a9 100644 (file)
@@ -41,8 +41,7 @@ ccl_device void svm_node_blackbody(KernelGlobals *kg, ShaderData *sd, float *sta
 
        float3 color_rgb = svm_math_blackbody_color(temperature);
 
-       if(stack_valid(col_offset))
-               stack_store_float3(stack, col_offset, color_rgb);
+       stack_store_float3(stack, col_offset, color_rgb);
 }
 
 CCL_NAMESPACE_END