Cycles OpenCL: make displacement and world importance sampling work.

This commit is contained in:
Brecht Van Lommel
2013-06-21 13:05:08 +00:00
parent e1f79351d6
commit 2e3035dd80
6 changed files with 70 additions and 11 deletions

View File

@@ -18,7 +18,7 @@
CCL_NAMESPACE_BEGIN
__device void kernel_shader_evaluate(KernelGlobals *kg, uint4 *input, float4 *output, ShaderEvalType type, int i)
__device void kernel_shader_evaluate(KernelGlobals *kg, __global uint4 *input, __global float4 *output, ShaderEvalType type, int i)
{
ShaderData sd;
uint4 in = input[i];