Page MenuHome

Regression OpenCL doesn't build anymore
Closed, DuplicatePublic

Description

System Information
AMD RX480 with 16.10.2

Blender Version
Broken: f94a460
Worked: f112986

Short description of error
OpenCL kernel doesn't build anymore

Exact steps for others to reproduce the error
Try to render anything, you get:

OpenCL build failed with error CL_BUILD_PROGRAM_FAILURE, errors in console.
OpenCL program base build output: C:\Users\user\Desktop\blender-2.78.0-git.f94a460-windows64\2.78\scripts\addons\cycles\kernel\kernels/opencl\../..\../../kernel_shader.h:280:17: error: no member named 'ob_tfm' in 'struct ShaderData'
                ccl_fetch(sd, ob_tfm)  = lamp_fetch_transform(kg, lamp, false);
                          ~~  ^
C:\Users\user\Desktop\blender-2.78.0-git.f94a460-windows64\2.78\scripts\addons\cycles\kernel\kernels/opencl\../..\../../kernel_types.h:757:31: note: expanded from macro 'ccl_fetch'
#  define ccl_fetch(s, t) (s->t)
                              ^
C:\Users\user\Desktop\blender-2.78.0-git.f94a460-windows64\2.78\scripts\addons\cycles\kernel\kernels/opencl\../..\../../kernel_shader.h:281:17: error: no member named 'ob_itfm' in 'struct ShaderData'
                ccl_fetch(sd, ob_itfm) = lamp_fetch_transform(kg, lamp, true);
                          ~~  ^
C:\Users\user\Desktop\blender-2.78.0-git.f94a460-windows64\2.78\scripts\addons\cycles\kernel\kernels/opencl\../..\../../kernel_types.h:757:31: note: expanded from macro 'ccl_fetch'
#  define ccl_fetch(s, t) (s->t)
                              ^
2 errors generated.

error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR

Error: EXCEPTION_ACCESS_VIOLATION

Details

Type
Bug