diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-05-25 17:48:11 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-05-25 18:06:10 +0300 |
commit | 9f1f7ba2bbee2bf82b09e63fde4d8a187265f49a (patch) | |
tree | 421afba00c845491fd5365084ead65cfaf4770ff /intern/cycles/kernel/kernel_path.h | |
parent | f53ae843b38e049b49ff2df0ab7477ad2180488d (diff) |
Fix T76925: more Cycles OpenCL compile errors with some drivers on Linux
Diffstat (limited to 'intern/cycles/kernel/kernel_path.h')
-rw-r--r-- | intern/cycles/kernel/kernel_path.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/kernel_path.h b/intern/cycles/kernel/kernel_path.h index db35303e3f1..ba46d84d158 100644 --- a/intern/cycles/kernel/kernel_path.h +++ b/intern/cycles/kernel/kernel_path.h @@ -662,7 +662,7 @@ ccl_device void kernel_path_trace( if (kernel_data.film.pass_adaptive_aux_buffer) { ccl_global float4 *aux = (ccl_global float4 *)(buffer + kernel_data.film.pass_adaptive_aux_buffer); - if (aux->w > 0.0f) { + if ((*aux).w > 0.0f) { return; } } |