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:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-08-09 14:44:21 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-08-09 15:08:58 +0300
commit176ad9ecdd4efca4dbe33b9c3a003c16e3706433 (patch)
tree129cc694eabcaaf5364932d0b2b202f8e3d4a0ca /intern/cycles/device
parent45d7513f84bd3f3ee52207d4373e2ff980c954aa (diff)
Cycles: Remove ulong usage
This is a bit confusing, especially when one mixes OpenCL code where ulong equals to uint64_t with CPU side code where ulong is expected to be something else from the naming. This commit makes it so we use explicit name, common on all platforms.
Diffstat (limited to 'intern/cycles/device')
-rw-r--r--intern/cycles/device/opencl/opencl_split.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/opencl/opencl_split.cpp b/intern/cycles/device/opencl/opencl_split.cpp
index df7c064a24f..16a96213100 100644
--- a/intern/cycles/device/opencl/opencl_split.cpp
+++ b/intern/cycles/device/opencl/opencl_split.cpp
@@ -119,7 +119,7 @@ public:
typedef struct _tex_info_t {
uint buffer, padding;
- ulong offset;
+ uint64_t offset;
uint width, height, depth, options;
} _tex_info_t;