Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHristo Gueorguiev <prem.nirved@gmail.com>2017-04-25 21:08:14 +0300
committerHristo Gueorguiev <prem.nirved@gmail.com>2017-04-25 21:08:14 +0300
commit9d26e32ea28b35bf51b27828f7b58fe479a29a68 (patch)
tree18e68ea8b04ddeadd2e61933ecf98c266c9dcd2c /intern/cycles/kernel/split
parent9dadd5ff937f81cc1e5aa9136b8eafb5a5414bb1 (diff)
Workaround for AMD GPU OpenCL compiler.
Diffstat (limited to 'intern/cycles/kernel/split')
-rw-r--r--intern/cycles/kernel/split/kernel_split_data_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/kernel/split/kernel_split_data_types.h b/intern/cycles/kernel/split/kernel_split_data_types.h
index 748197b7183..0af8bfc89d5 100644
--- a/intern/cycles/kernel/split/kernel_split_data_types.h
+++ b/intern/cycles/kernel/split/kernel_split_data_types.h
@@ -43,6 +43,9 @@ typedef struct SplitParams {
ccl_global char *use_queues_flag;
ccl_global float *buffer;
+
+ /* Place for storing sd->flag. AMD GPU OpenCL compiler workaround */
+ int dummy_sd_flag;
} SplitParams;
/* Global memory variables [porting]; These memory is used for