Page MenuHome

Cycles: Optionally output luminance from the shader evaluation kernel
ClosedPublic

Authored by Sergey Sharybin (sergey) on Dec 30 2015, 9:31 AM.

Details

Summary

This makes it possible to move some parts of evaluation from host to the device
and hopefully reduce memory usage by avoid having full RGBA buffer on the host.

This makes it possible to implement D1377 in a way which does not require cast
magic.

Diff Detail

Repository
rB Blender

Event Timeline

Sergey Sharybin (sergey) retitled this revision from to Cycles: Optionally output luminance from the shader evaluation kernel.
Sergey Sharybin (sergey) updated this object.
This revision is now accepted and ready to land.Dec 30 2015, 1:27 PM
Lukas Stockner (lukasstockner97) edited edge metadata.

Well, that will work as well - I tried to avoid large-scale changes in D1377, but this is probably the cleaner approach.

It's better to not be afraid of a larger-scale changes and keep code clear and robust. Will commit the patch to master now, then you can easily update D1377.

Sergey Sharybin (sergey) edited edge metadata.

Simply update to the latest master

This revision was automatically updated to reflect the committed changes.