System Information
Windows 8.1 64-bit
Blender Version
Broken: Latest git from the Cycles standalone repository. At this commit https://developer.blender.org/rCae057c51edfc85661574b0db5cf411b5d145ffbb
Short description of error
Cycles standalone does not clamp sampled values, regardless of the integrator's sample_clamp_direct value.
Cycles does respect this value when set through the blender UI in 2.77RC2. Only cycles standalone has this issue.
Exact steps for others to reproduce the error
Attached a short xml file to reproduce this in Cycles standalone. It contains a cube with an emission shader of strength 10, and sample_clamp_direct set to 0.5. This should produce a render of a gray cube, but instead it will render white.