From 3918c8b9a52ae9dcdb0488df92d7d3ca615be8c7 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 30 Dec 2015 19:04:01 +0500 Subject: Cycles: Optionally output luminance from the shader evaluation kernel 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. Reviewers: juicyfruit, lukasstockner97, brecht Reviewed By: lukasstockner97, brecht Differential Revision: https://developer.blender.org/D1702 --- intern/cycles/device/device_task.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern/cycles/device/device_task.h') diff --git a/intern/cycles/device/device_task.h b/intern/cycles/device/device_task.h index 834ea60988a..7654508d4a5 100644 --- a/intern/cycles/device/device_task.h +++ b/intern/cycles/device/device_task.h @@ -46,7 +46,7 @@ public: int offset, stride; device_ptr shader_input; - device_ptr shader_output; + device_ptr shader_output, shader_output_luma; int shader_eval_type; int shader_x, shader_w; -- cgit v1.2.3