Cycles Does not with 2.70 90db85a Daily Build but does for 2.70A with AMD OpenCL Driver 14.6 ver1 #40399

Closed
opened 2014-05-28 03:28:12 +02:00 by Jeffrey Engelstad · 21 comments

System Information
Windows 8.1
Asus Crosshair V
AMD FX-8150 CPU
32GB DDR3 Ram
Saphire 7970 Toxic 6gbram

Blender Version
Broken: 2.70 90db85a
Worked: 2.70a 64bit

Don't know if this is the place for this info but
if you install AMD DRiver 14.6 ver:1 and then edit the Kernel_types.h file and un-comment all the parts under AMD Opencl
and Save.
Run Blender 2.70a Open the Mikepen BMW file switch to cycles enable im my case Tahiti for the openCL Device.
change from CPU to GPU compute, now hit render.
Compile time takes 10sec render takes 32sec.

do the same for Blender 2.70 90db85a Compile fails over 100 errors in console.

BMW1M-MikePan.blend

**System Information** Windows 8.1 Asus Crosshair V AMD FX-8150 CPU 32GB DDR3 Ram Saphire 7970 Toxic 6gbram **Blender Version** Broken: 2.70 90db85a Worked: 2.70a 64bit Don't know if this is the place for this info but if you install AMD DRiver 14.6 ver:1 and then edit the Kernel_types.h file and un-comment all the parts under AMD Opencl and Save. Run Blender 2.70a Open the Mikepen BMW file switch to cycles enable im my case Tahiti for the openCL Device. change from CPU to GPU compute, now hit render. Compile time takes 10sec render takes 32sec. do the same for Blender 2.70 90db85a Compile fails over 100 errors in console. [BMW1M-MikePan.blend](https://archive.blender.org/developer/F91654/BMW1M-MikePan.blend)

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @JeffreyEngelstad

Added subscriber: @JeffreyEngelstad

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2014-05-28 05:45:21 +02:00

OpenCL kernel is not supported officially, and still in development. Thanks for the report, but we do not accept bug reports about it currently.

OpenCL kernel is not supported officially, and still in development. Thanks for the report, but we do not accept bug reports about it currently.

ah ok.
well I hope someday I can use my video card for rendering.

I don't wan't to sound rude but I will.
as a supporter of Blender and a Blender cloud member.
I feel I just got told to go fined a hole to shove myself in.

I understand what you are saying but you could have been a little more polite.

ah ok. well I hope someday I can use my video card for rendering. I don't wan't to sound rude but I will. as a supporter of Blender and a Blender cloud member. I feel I just got told to go fined a hole to shove myself in. I understand what you are saying but you could have been a little more polite.

OpenCL kernel is not supported officially, and still in development. Thanks for the report, but we do not accept bug reports about it currently.

Can you point me what you find impolite in this answer?

> OpenCL kernel is not supported officially, and still in development. Thanks for the report, but we do not accept bug reports about it currently. Can you point me what you find impolite in this answer?

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

Attaching the error log with the 100 errors might help, maybe it's easy to fix, but as mont said, we do not support OpenCL officially due to AMD driver restrictions.

Attaching the error log with the 100 errors might help, maybe it's easy to fix, but as mont said, we do not support OpenCL officially due to AMD driver restrictions.

It feels a little Curt.
and the fact that the end basically to me seem as if you don't care it works or not.

it could have been just arranged a little different.

Thank you for the report, But at this time we do not Officially Support the OpenCL Kernel. It is still in Development once it is complete we will accept Bug Reports
but not at this time.

I hope the way I worded that is true? is the OpenCL Kernel going to get worked on? or did I get the correct outcome out of your reply?

I know I don't relay matter as just one guy. and I am sorry for taking to much of your time already

It feels a little Curt. and the fact that the end basically to me seem as if you don't care it works or not. it could have been just arranged a little different. Thank you for the report, But at this time we do not Officially Support the OpenCL Kernel. It is still in Development once it is complete we will accept Bug Reports but not at this time. I hope the way I worded that is true? is the OpenCL Kernel going to get worked on? or did I get the correct outcome out of your reply? I know I don't relay matter as just one guy. and I am sorry for taking to much of your time already ```

that is why I posted this
dingto
it works... with Blender 2.70a all options enabled in Kernel_Types.h for AMD_Opencl
New AMD Driver 14.6 ver 1

that is why I posted this dingto it works... with Blender 2.70a all options enabled in Kernel_Types.h for AMD_Opencl New AMD Driver 14.6 ver 1

The problem is not so much on our end, but more on AMDs side. They are just incapable of delivering a working driver/compiler, which can handle complex OpenCL programs!

The problem is not so much on our end, but more on AMDs side. They are just incapable of delivering a working driver/compiler, which can handle complex OpenCL programs!

Yeah, then please attach the 100 errors, I cannot guess what's wrong.

Yeah, then please attach the 100 errors, I cannot guess what's wrong.

how do I get a copy of the log from console?
I have been Trying to fined ways to help with this for some time.
I have spent countless hours trying to get AMDs CODE XL to debug where they are having problems, but I have not had a lot of luck. I will try again now that the kernel compiles.

how do I get a copy of the log from console? I have been Trying to fined ways to help with this for some time. I have spent countless hours trying to get AMDs CODE XL to debug where they are having problems, but I have not had a lot of luck. I will try again now that the kernel compiles.

See here about our current OpenCL status: http://wiki.blender.org/index.php?title=OpenCL

Just copy the errors from the console, right click -> copy. Then mark the errors and press Enter to copy.

See here about our current OpenCL status: http://wiki.blender.org/index.php?title=OpenCL Just copy the errors from the console, right click -> copy. Then mark the errors and press Enter to copy.
      return;
      ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43727: error:

        expected a declaration
}
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43751: warning:

        parsing restarts here after previous syntax error
              shader_eval_displacement(kg, &sd, SHADER_CONTEXT_MAIN);
                                                                    ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43752: warning: this

        declaration has no storage class or type specifier
              out = sd.P - P;
              ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43752: error: global

        variable must be declared in addrSpace constant
              out = sd.P - P;
              ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43752: error:

        variable "out" has already been initialized
              out = sd.P - P;
              ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43752: error:

        expression must have struct or union type
              out = sd.P - P;
                    ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43752: error:

        expression must have a constant value
              out = sd.P - P;
                           ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43753: error:

        expected a declaration
      }
      ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43776: warning:

        parsing restarts here after previous syntax error
              int flag = 0; /* we can't know which type of BSDF this is for */
                          ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43777: warning: this

        declaration has no storage class or type specifier
              out = shader_eval_background(kg, &sd, flag, SHADER_CONTEXT_MAIN)

;

              ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43777: error: global

        variable must be declared in addrSpace constant
              out = shader_eval_background(kg, &sd, flag, SHADER_CONTEXT_MAIN)

;

              ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43777: error:

        variable "out" has already been initialized
              out = shader_eval_background(kg, &sd, flag, SHADER_CONTEXT_MAIN)

;

              ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43777: error:

        function call is not allowed in a constant expression
              out = shader_eval_background(kg, &sd, flag, SHADER_CONTEXT_MAIN)

;

                    ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43777: error:

        identifier "flag" is undefined
              out = shader_eval_background(kg, &sd, flag, SHADER_CONTEXT_MAIN)

;

                                                    ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43778: error:

        expected a declaration
      }
      ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43781: warning:

        parsing restarts here after previous syntax error
      output[i] = make_float4(out.x, out.y, out.z, 0.0f);
                                                        ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43782: error:

        expected a declaration
}
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44074: warning:

        parsing restarts here after previous syntax error
KERNEL_TEX(float4, texture_float4, __bvh_nodes)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44075: warning: this

        declaration has no storage class or type specifier
KERNEL_TEX(float4, texture_float4, __tri_woop)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44075: error: global

        variable must be declared in addrSpace constant
KERNEL_TEX(float4, texture_float4, __tri_woop)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44075: error:

        expected a ";"
KERNEL_TEX(float4, texture_float4, __tri_woop)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44076: warning: this

        declaration has no storage class or type specifier
KERNEL_TEX(uint, texture_uint, __prim_type)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44076: error: global

        variable must be declared in addrSpace constant
KERNEL_TEX(uint, texture_uint, __prim_type)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44076: error:

        expected a ";"
KERNEL_TEX(uint, texture_uint, __prim_type)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44077: warning: this

        declaration has no storage class or type specifier
KERNEL_TEX(uint, texture_uint, __prim_visibility)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44077: error: global

        variable must be declared in addrSpace constant
KERNEL_TEX(uint, texture_uint, __prim_visibility)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44077: error:

        expected a ";"
KERNEL_TEX(uint, texture_uint, __prim_visibility)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44078: warning: this

        declaration has no storage class or type specifier
KERNEL_TEX(uint, texture_uint, __prim_index)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44078: error: global

        variable must be declared in addrSpace constant
KERNEL_TEX(uint, texture_uint, __prim_index)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44078: error:

        expected a ";"
KERNEL_TEX(uint, texture_uint, __prim_index)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44079: warning: this

        declaration has no storage class or type specifier
KERNEL_TEX(uint, texture_uint, __prim_object)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44079: error: global

        variable must be declared in addrSpace constant
KERNEL_TEX(uint, texture_uint, __prim_object)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44079: error:

        expected a ";"
KERNEL_TEX(uint, texture_uint, __prim_object)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44080: warning: this

        declaration has no storage class or type specifier
KERNEL_TEX(uint, texture_uint, __object_node)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44080: error: global

        variable must be declared in addrSpace constant
KERNEL_TEX(uint, texture_uint, __object_node)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44080: error:

        expected a ";"
KERNEL_TEX(uint, texture_uint, __object_node)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44083: warning: this

        declaration has no storage class or type specifier
KERNEL_TEX(float4, texture_float4, __objects)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44083: error: global

        variable must be declared in addrSpace constant
KERNEL_TEX(float4, texture_float4, __objects)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44083: error:

        expected a ";"
KERNEL_TEX(float4, texture_float4, __objects)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44084: warning: this

        declaration has no storage class or type specifier
KERNEL_TEX(float4, texture_float4, __objects_vector)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44084: error: global

        variable must be declared in addrSpace constant
KERNEL_TEX(float4, texture_float4, __objects_vector)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44084: error:

        expected a ";"
KERNEL_TEX(float4, texture_float4, __objects_vector)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44087: warning: this

        declaration has no storage class or type specifier
KERNEL_TEX(float4, texture_float4, __tri_normal)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44087: error: global

        variable must be declared in addrSpace constant
KERNEL_TEX(float4, texture_float4, __tri_normal)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44087: error:

        expected a ";"
KERNEL_TEX(float4, texture_float4, __tri_normal)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44088: warning: this

        declaration has no storage class or type specifier
KERNEL_TEX(float4, texture_float4, __tri_vnormal)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44088: error: global

        variable must be declared in addrSpace constant
KERNEL_TEX(float4, texture_float4, __tri_vnormal)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44088: error:

        expected a ";"
KERNEL_TEX(float4, texture_float4, __tri_vnormal)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44089: warning: this

        declaration has no storage class or type specifier
KERNEL_TEX(float4, texture_float4, __tri_vindex)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44089: error: global

        variable must be declared in addrSpace constant
KERNEL_TEX(float4, texture_float4, __tri_vindex)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44089: error:

        expected a ";"
KERNEL_TEX(float4, texture_float4, __tri_vindex)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44090: warning: this

        declaration has no storage class or type specifier
KERNEL_TEX(float4, texture_float4, __tri_verts)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44090: error: global

        variable must be declared in addrSpace constant
KERNEL_TEX(float4, texture_float4, __tri_verts)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44090: error:

        expected a ";"
KERNEL_TEX(float4, texture_float4, __tri_verts)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44093: warning: this

        declaration has no storage class or type specifier
KERNEL_TEX(float4, texture_float4, __curves)
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44093: error: global

        variable must be declared in addrSpace constant
KERNEL_TEX(float4, texture_float4, __curves)
^

Error limit reached.
100 errors detected in the compilation of "C:\Users\JAXOM_~1\AppData\Local\Temp
OCL3936T5.cl".
Compilation terminated.

Frontend phase failed compilation.

OpenCL build failed: errors in console
read exr tmp file: C:\Users\JAXOM_~1\AppData\Local\Temp\BMW1M-MikePan.blend_Scen
e_RenderLayer_3936.exr

``` return; ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43727: error: ``` expected a declaration } ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43751: warning: ``` parsing restarts here after previous syntax error shader_eval_displacement(kg, &sd, SHADER_CONTEXT_MAIN); ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43752: warning: this ``` declaration has no storage class or type specifier out = sd.P - P; ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43752: error: global ``` variable must be declared in addrSpace constant out = sd.P - P; ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43752: error: ``` variable "out" has already been initialized out = sd.P - P; ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43752: error: ``` expression must have struct or union type out = sd.P - P; ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43752: error: ``` expression must have a constant value out = sd.P - P; ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43753: error: ``` expected a declaration } ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43776: warning: ``` parsing restarts here after previous syntax error int flag = 0; /* we can't know which type of BSDF this is for */ ``` ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43777: warning: this ``` declaration has no storage class or type specifier out = shader_eval_background(kg, &sd, flag, SHADER_CONTEXT_MAIN) ``` ; ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43777: error: global ``` variable must be declared in addrSpace constant out = shader_eval_background(kg, &sd, flag, SHADER_CONTEXT_MAIN) ``` ; ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43777: error: ``` variable "out" has already been initialized out = shader_eval_background(kg, &sd, flag, SHADER_CONTEXT_MAIN) ``` ; ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43777: error: ``` function call is not allowed in a constant expression out = shader_eval_background(kg, &sd, flag, SHADER_CONTEXT_MAIN) ``` ; ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43777: error: ``` identifier "flag" is undefined out = shader_eval_background(kg, &sd, flag, SHADER_CONTEXT_MAIN) ``` ; ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43778: error: ``` expected a declaration } ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43781: warning: ``` parsing restarts here after previous syntax error output[i] = make_float4(out.x, out.y, out.z, 0.0f); ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 43782: error: ``` expected a declaration } ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44074: warning: ``` parsing restarts here after previous syntax error KERNEL_TEX(float4, texture_float4, __bvh_nodes) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44075: warning: this ``` declaration has no storage class or type specifier KERNEL_TEX(float4, texture_float4, __tri_woop) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44075: error: global ``` variable must be declared in addrSpace constant KERNEL_TEX(float4, texture_float4, __tri_woop) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44075: error: ``` expected a ";" KERNEL_TEX(float4, texture_float4, __tri_woop) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44076: warning: this ``` declaration has no storage class or type specifier KERNEL_TEX(uint, texture_uint, __prim_type) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44076: error: global ``` variable must be declared in addrSpace constant KERNEL_TEX(uint, texture_uint, __prim_type) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44076: error: ``` expected a ";" KERNEL_TEX(uint, texture_uint, __prim_type) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44077: warning: this ``` declaration has no storage class or type specifier KERNEL_TEX(uint, texture_uint, __prim_visibility) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44077: error: global ``` variable must be declared in addrSpace constant KERNEL_TEX(uint, texture_uint, __prim_visibility) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44077: error: ``` expected a ";" KERNEL_TEX(uint, texture_uint, __prim_visibility) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44078: warning: this ``` declaration has no storage class or type specifier KERNEL_TEX(uint, texture_uint, __prim_index) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44078: error: global ``` variable must be declared in addrSpace constant KERNEL_TEX(uint, texture_uint, __prim_index) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44078: error: ``` expected a ";" KERNEL_TEX(uint, texture_uint, __prim_index) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44079: warning: this ``` declaration has no storage class or type specifier KERNEL_TEX(uint, texture_uint, __prim_object) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44079: error: global ``` variable must be declared in addrSpace constant KERNEL_TEX(uint, texture_uint, __prim_object) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44079: error: ``` expected a ";" KERNEL_TEX(uint, texture_uint, __prim_object) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44080: warning: this ``` declaration has no storage class or type specifier KERNEL_TEX(uint, texture_uint, __object_node) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44080: error: global ``` variable must be declared in addrSpace constant KERNEL_TEX(uint, texture_uint, __object_node) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44080: error: ``` expected a ";" KERNEL_TEX(uint, texture_uint, __object_node) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44083: warning: this ``` declaration has no storage class or type specifier KERNEL_TEX(float4, texture_float4, __objects) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44083: error: global ``` variable must be declared in addrSpace constant KERNEL_TEX(float4, texture_float4, __objects) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44083: error: ``` expected a ";" KERNEL_TEX(float4, texture_float4, __objects) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44084: warning: this ``` declaration has no storage class or type specifier KERNEL_TEX(float4, texture_float4, __objects_vector) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44084: error: global ``` variable must be declared in addrSpace constant KERNEL_TEX(float4, texture_float4, __objects_vector) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44084: error: ``` expected a ";" KERNEL_TEX(float4, texture_float4, __objects_vector) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44087: warning: this ``` declaration has no storage class or type specifier KERNEL_TEX(float4, texture_float4, __tri_normal) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44087: error: global ``` variable must be declared in addrSpace constant KERNEL_TEX(float4, texture_float4, __tri_normal) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44087: error: ``` expected a ";" KERNEL_TEX(float4, texture_float4, __tri_normal) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44088: warning: this ``` declaration has no storage class or type specifier KERNEL_TEX(float4, texture_float4, __tri_vnormal) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44088: error: global ``` variable must be declared in addrSpace constant KERNEL_TEX(float4, texture_float4, __tri_vnormal) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44088: error: ``` expected a ";" KERNEL_TEX(float4, texture_float4, __tri_vnormal) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44089: warning: this ``` declaration has no storage class or type specifier KERNEL_TEX(float4, texture_float4, __tri_vindex) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44089: error: global ``` variable must be declared in addrSpace constant KERNEL_TEX(float4, texture_float4, __tri_vindex) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44089: error: ``` expected a ";" KERNEL_TEX(float4, texture_float4, __tri_vindex) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44090: warning: this ``` declaration has no storage class or type specifier KERNEL_TEX(float4, texture_float4, __tri_verts) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44090: error: global ``` variable must be declared in addrSpace constant KERNEL_TEX(float4, texture_float4, __tri_verts) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44090: error: ``` expected a ";" KERNEL_TEX(float4, texture_float4, __tri_verts) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44093: warning: this ``` declaration has no storage class or type specifier KERNEL_TEX(float4, texture_float4, __curves) ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL3936T5.cl", line 44093: error: global ``` variable must be declared in addrSpace constant KERNEL_TEX(float4, texture_float4, __curves) ^ ``` Error limit reached. 100 errors detected in the compilation of "C:\Users\JAXOM_~1\AppData\Local\Temp\ OCL3936T5.cl". Compilation terminated. Frontend phase failed compilation. OpenCL build failed: errors in console read exr tmp file: C:\Users\JAXOM_~1\AppData\Local\Temp\BMW1M-MikePan.blend_Scen e_RenderLayer_3936.exr

here is what I get with Blender 2.70a.

Read new prefs: C:\Users\jaxom_000\AppData\Roaming\Blender Foundation\Blender\2.
70\config\userpref.blend
found bundled python: C:\Users\jaxom_000\Downloads\blender-2.70a-windows64\blend
er-2.70a-windows64\2.70\python
read blend: E:\Blender files\Models\refrence\BMW1M-MikePan.blend
Compiling OpenCL kernel ...
Kernel compilation finished in 10.89s.

here is what I get with Blender 2.70a. Read new prefs: C:\Users\jaxom_000\AppData\Roaming\Blender Foundation\Blender\2. 70\config\userpref.blend found bundled python: C:\Users\jaxom_000\Downloads\blender-2.70a-windows64\blend er-2.70a-windows64\2.70\python read blend: E:\Blender files\Models\refrence\BMW1M-MikePan.blend Compiling OpenCL kernel ... Kernel compilation finished in 10.89s.

This issue was referenced by 94b2852947

This issue was referenced by 94b2852947aba90850890d0b614c1684a94ab1fd

I fixed an error now, this fixes OpenCL for me on Mac OS on CPU. Please check a new build tomorrow from builder.blender.org.

I fixed an error now, this fixes OpenCL for me on Mac OS on CPU. Please check a new build tomorrow from builder.blender.org.

Sorry it took so long to Reply but builder.blender.org did not have a new windows 64 build till today.
your fixes worked for compiling for my Opencl GPU if you don't uncomment anything in the Kernel.types.h file.

Sorry it took so long to Reply but builder.blender.org did not have a new windows 64 build till today. your fixes worked for compiling for my Opencl GPU if you don't uncomment anything in the Kernel.types.h file.

BMW1M-MikePan.blend_Opencl.png

the render is fast but it takes a long time to build the Kernel.
memory usage tops out at 3.3gb if I watch task manager when cycles is compiling.
and the kernel takes 154.46sec to compile.
the pic is a re-render after the kernel was compiled to get a time on just the render.
this is at 50 samples.

![BMW1M-MikePan.blend_Opencl.png](https://archive.blender.org/developer/F92332/BMW1M-MikePan.blend_Opencl.png) the render is fast but it takes a long time to build the Kernel. memory usage tops out at 3.3gb if I watch task manager when cycles is compiling. and the kernel takes 154.46sec to compile. the pic is a re-render after the kernel was compiled to get a time on just the render. this is at 50 samples.

The Opencl Compile will work if you make the Kernel.types.h file look like this under Kernel_Opencl_AMD

  • ifdef KERNEL_OPENCL_AMD
  • define CL_USE_NATIVE
    #define KERNEL_SHADING
//__KERNEL_ADV_SHADING__
  • define MULTI_CLOSURE
  • define TRANSPARENT_SHADOWS
  • define PASSES
  • define BACKGROUND_MIS
  • define LAMP_MIS
  • define AO
    #define ANISOTROPIC
//#define __CAMERA_MOTION__
  • define OBJECT_MOTION
  • define HAIR
//end __KERNEL_ADV_SHADING__

#endif

And this is the render as you can see it works but looks strange
BMW1M-MikePan.blend_Opencl_1.png

if you uncomment all under Kernel_Opencl_AMD in Kernel_Types.H
Build fails with the Console output looking like this.

Read new prefs: C:\Users\jaxom_000\AppData\Roaming\Blender Foundation\Blender\2.
70\config\userpref.blend
found bundled python: C:\BlenderDaily\blender-2.70-abec198-win64-vc9\blender-2.7
0-abec198-win64-vc9\2.70\python
read blend: E:\Blender files\Models\refrence\BMW1M-MikePan.blend
Device init succes
Compiling OpenCL kernel ...
OpenCL kernel build output:
"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 16830: error:

        identifier "__KERNEL_ADV_SHADING__" is undefined
__KERNEL_ADV_SHADING__
^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 16841: error:

        expected a ";"
end __KERNEL_ADV_SHADING__
    ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 16890: warning:

        parsing restarts here after previous syntax error
typedef uint RNG;
                ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 18945: error:

        identifier "RNG" is undefined
ccl_device_inline float path_rng_1D(KernelGlobals *kg, RNG *rng, int sample, i

nt num_samples, int dimension)

                                                       ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 18979: error:

        identifier "RNG" is undefined
ccl_device_inline void path_rng_2D(KernelGlobals *kg, RNG *rng, int sample, in

t num_samples, int dimension, float *fx, float *fy)

                                                      ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 18996: error:

        identifier "RNG" is undefined
ccl_device_inline void path_rng_init(KernelGlobals *kg, ccl_global uint *rng_s

tate, int sample, int num_samples, RNG *rng, int x, int y, float *fx, float *fy)

                                 ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 19031: error:

        identifier "RNG" is undefined
ccl_device void path_rng_end(KernelGlobals *kg, ccl_global uint *rng_state, RN

G rng)

                                                                            ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 19108: error:

        identifier "RNG" is undefined
ccl_device_inline float path_state_rng_1D(KernelGlobals *kg, RNG *rng, PathSta

te *state, int dimension)

                                                             ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 19113: error:

        identifier "RNG" is undefined
ccl_device_inline float path_state_rng_1D_for_decision(KernelGlobals *kg, RNG

*rng, PathState *state, int dimension)

                                                                          ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 19126: error:

        identifier "RNG" is undefined
ccl_device_inline void path_state_rng_2D(KernelGlobals *kg, RNG *rng, PathStat

e *state, int dimension, float *fx, float *fy)

                                                            ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 19131: error:

        identifier "RNG" is undefined
ccl_device_inline float path_branched_rng_1D(KernelGlobals *kg, RNG *rng, Path

State *state, int branch, int num_branches, int dimension)

                                                                ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 19136: error:

        identifier "RNG" is undefined
ccl_device_inline void path_branched_rng_2D(KernelGlobals *kg, RNG *rng, PathS

tate *state, int branch, int num_branches, int dimension, float *fx, float *fy)

                                                               ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 19150: error:

        identifier "RNG" is undefined
ccl_device_inline uint lcg_state_init(RNG *rng, PathState *state, uint scrambl

e)

                                      ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 19740: error:

        invalid type conversion
              transform_motion_interpolate(&cameratoworld, (const DecompMotion

Transform*)&kernel_data.cam.motion, ray->time);

                                                           ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 19799: error:

        invalid type conversion
              transform_motion_interpolate(&cameratoworld, (const DecompMotion

Transform*)&kernel_data.cam.motion, ray->time);

                                                           ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 19872: error:

        invalid type conversion
              transform_motion_interpolate(&cameratoworld, (const DecompMotion

Transform*)&kernel_data.cam.motion, ray->time);

                                                           ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 41515: error:

        identifier "RNG" is undefined
ccl_device_inline void path_state_init(KernelGlobals *kg, PathState *state, RN

G *rng, int sample)

                                                                            ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 42144: error:

        identifier "RNG" is undefined
ccl_device void kernel_path_indirect(KernelGlobals *kg, RNG *rng, Ray ray,
                                                        ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 42388: error:

        identifier "RNG" is undefined
ccl_device_inline bool kernel_path_integrate_lighting(KernelGlobals *kg, RNG *

rng,

                                                                         ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 42497: error:

        identifier "RNG" is undefined
ccl_device void kernel_path_ao(KernelGlobals *kg, ShaderData *sd, PathRadiance

*L, PathState *state, RNG *rng, float3 throughput)

                     ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 42531: error:

        identifier "RNG" is undefined
ccl_device void kernel_branched_path_ao(KernelGlobals *kg, ShaderData *sd, Pat

hRadiance *L, PathState *state, RNG *rng, float3 throughput)

                              ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 42614: error:

        identifier "RNG" is undefined
ccl_device float4 kernel_path_integrate(KernelGlobals *kg, RNG *rng, int sampl

e, Ray ray, ccl_global float *buffer)

                                                           ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 43311: error:

        identifier "RNG" is undefined
ccl_device_inline void kernel_path_trace_setup(KernelGlobals *kg, ccl_global u

int *rng_state, int sample, int x, int y, RNG *rng, Ray *ray)

                                        ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 43352: error:

        identifier "RNG" is undefined
      RNG rng;
      ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 43427: error:

        identifier "RNG" is undefined
ccl_device void compute_light_pass(KernelGlobals *kg, ShaderData *sd, PathRadi

ance *L, RNG rng,

       ^

"C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 43602: error:

        identifier "RNG" is undefined
              RNG rng = cmj_hash(i, 0);
              ^

25 errors detected in the compilation of "C:\Users\JAXOM_~1\AppData\Local\Temp\O
CL2872T5.cl".

Frontend phase failed compilation.

OpenCL build failed: errors in console

The Opencl Compile will work if you make the Kernel.types.h file look like this under Kernel_Opencl_AMD - ifdef __KERNEL_OPENCL_AMD__ - define __CL_USE_NATIVE__ #define __KERNEL_SHADING__ ``` //__KERNEL_ADV_SHADING__ ``` - define __MULTI_CLOSURE__ - define __TRANSPARENT_SHADOWS__ - define __PASSES__ - define __BACKGROUND_MIS__ - define __LAMP_MIS__ - define __AO__ #define __ANISOTROPIC__ ``` //#define __CAMERA_MOTION__ ``` - define __OBJECT_MOTION__ - define __HAIR__ ``` //end __KERNEL_ADV_SHADING__ ``` #endif And this is the render as you can see it works but looks strange ![BMW1M-MikePan.blend_Opencl_1.png](https://archive.blender.org/developer/F92337/BMW1M-MikePan.blend_Opencl_1.png) if you uncomment all under Kernel_Opencl_AMD in Kernel_Types.H Build fails with the Console output looking like this. Read new prefs: C:\Users\jaxom_000\AppData\Roaming\Blender Foundation\Blender\2. 70\config\userpref.blend found bundled python: C:\BlenderDaily\blender-2.70-abec198-win64-vc9\blender-2.7 0-abec198-win64-vc9\2.70\python read blend: E:\Blender files\Models\refrence\BMW1M-MikePan.blend Device init succes Compiling OpenCL kernel ... OpenCL kernel build output: "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 16830: error: ``` identifier "__KERNEL_ADV_SHADING__" is undefined __KERNEL_ADV_SHADING__ ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 16841: error: ``` expected a ";" end __KERNEL_ADV_SHADING__ ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 16890: warning: ``` parsing restarts here after previous syntax error typedef uint RNG; ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 18945: error: ``` identifier "RNG" is undefined ccl_device_inline float path_rng_1D(KernelGlobals *kg, RNG *rng, int sample, i ``` nt num_samples, int dimension) ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 18979: error: ``` identifier "RNG" is undefined ccl_device_inline void path_rng_2D(KernelGlobals *kg, RNG *rng, int sample, in ``` t num_samples, int dimension, float *fx, float *fy) ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 18996: error: ``` identifier "RNG" is undefined ccl_device_inline void path_rng_init(KernelGlobals *kg, ccl_global uint *rng_s ``` tate, int sample, int num_samples, RNG *rng, int x, int y, float *fx, float *fy) ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 19031: error: ``` identifier "RNG" is undefined ccl_device void path_rng_end(KernelGlobals *kg, ccl_global uint *rng_state, RN ``` G rng) ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 19108: error: ``` identifier "RNG" is undefined ccl_device_inline float path_state_rng_1D(KernelGlobals *kg, RNG *rng, PathSta ``` te *state, int dimension) ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 19113: error: ``` identifier "RNG" is undefined ccl_device_inline float path_state_rng_1D_for_decision(KernelGlobals *kg, RNG ``` *rng, PathState *state, int dimension) ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 19126: error: ``` identifier "RNG" is undefined ccl_device_inline void path_state_rng_2D(KernelGlobals *kg, RNG *rng, PathStat ``` e *state, int dimension, float *fx, float *fy) ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 19131: error: ``` identifier "RNG" is undefined ccl_device_inline float path_branched_rng_1D(KernelGlobals *kg, RNG *rng, Path ``` State *state, int branch, int num_branches, int dimension) ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 19136: error: ``` identifier "RNG" is undefined ccl_device_inline void path_branched_rng_2D(KernelGlobals *kg, RNG *rng, PathS ``` tate *state, int branch, int num_branches, int dimension, float *fx, float *fy) ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 19150: error: ``` identifier "RNG" is undefined ccl_device_inline uint lcg_state_init(RNG *rng, PathState *state, uint scrambl ``` e) ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 19740: error: ``` invalid type conversion transform_motion_interpolate(&cameratoworld, (const DecompMotion ``` Transform*)&kernel_data.cam.motion, ray->time); ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 19799: error: ``` invalid type conversion transform_motion_interpolate(&cameratoworld, (const DecompMotion ``` Transform*)&kernel_data.cam.motion, ray->time); ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 19872: error: ``` invalid type conversion transform_motion_interpolate(&cameratoworld, (const DecompMotion ``` Transform*)&kernel_data.cam.motion, ray->time); ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 41515: error: ``` identifier "RNG" is undefined ccl_device_inline void path_state_init(KernelGlobals *kg, PathState *state, RN ``` G *rng, int sample) ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 42144: error: ``` identifier "RNG" is undefined ccl_device void kernel_path_indirect(KernelGlobals *kg, RNG *rng, Ray ray, ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 42388: error: ``` identifier "RNG" is undefined ccl_device_inline bool kernel_path_integrate_lighting(KernelGlobals *kg, RNG * ``` rng, ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 42497: error: ``` identifier "RNG" is undefined ccl_device void kernel_path_ao(KernelGlobals *kg, ShaderData *sd, PathRadiance ``` *L, PathState *state, RNG *rng, float3 throughput) ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 42531: error: ``` identifier "RNG" is undefined ccl_device void kernel_branched_path_ao(KernelGlobals *kg, ShaderData *sd, Pat ``` hRadiance *L, PathState *state, RNG *rng, float3 throughput) ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 42614: error: ``` identifier "RNG" is undefined ccl_device float4 kernel_path_integrate(KernelGlobals *kg, RNG *rng, int sampl ``` e, Ray ray, ccl_global float *buffer) ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 43311: error: ``` identifier "RNG" is undefined ccl_device_inline void kernel_path_trace_setup(KernelGlobals *kg, ccl_global u ``` int *rng_state, int sample, int x, int y, RNG *rng, Ray *ray) ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 43352: error: ``` identifier "RNG" is undefined RNG rng; ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 43427: error: ``` identifier "RNG" is undefined ccl_device void compute_light_pass(KernelGlobals *kg, ShaderData *sd, PathRadi ``` ance *L, RNG rng, ``` ^ ``` "C:\Users\JAXOM_~1\AppData\Local\Temp\OCL2872T5.cl", line 43602: error: ``` identifier "RNG" is undefined RNG rng = cmj_hash(i, 0); ^ ``` 25 errors detected in the compilation of "C:\Users\JAXOM_~1\AppData\Local\Temp\O CL2872T5.cl". Frontend phase failed compilation. OpenCL build failed: errors in console
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#40399
No description provided.