diff options
author | Thomas Dinges <blender@dingto.org> | 2016-05-27 23:58:33 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2016-05-27 23:58:33 +0300 |
commit | 2ee063868dca9abb7f76be101539fde70a830b72 (patch) | |
tree | e2f299b0464b4f96779e429070e2b3f8ef168cf3 /intern/cycles/render/scene.h | |
parent | bd678f179b3e9d8e551c6f827ba97ed1defe1de2 (diff) |
Cleanup: Shorten texture variables, tex and image was kinda redundant.
Also make prefix consistent, so it starts with either TEX_NUM or TEX_START, followed by texture type and architecture.
Diffstat (limited to 'intern/cycles/render/scene.h')
-rw-r--r-- | intern/cycles/render/scene.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/cycles/render/scene.h b/intern/cycles/render/scene.h index 33c03d40f27..b34d6127118 100644 --- a/intern/cycles/render/scene.h +++ b/intern/cycles/render/scene.h @@ -109,10 +109,10 @@ public: device_vector<uint> sobol_directions; /* cpu images */ - device_vector<uchar4> tex_byte4_image[TEX_NUM_BYTE4_IMAGES_CPU]; - device_vector<float4> tex_float4_image[TEX_NUM_FLOAT4_IMAGES_CPU]; - device_vector<float> tex_float_image[TEX_NUM_FLOAT_IMAGES_CPU]; - device_vector<uchar> tex_byte_image[TEX_NUM_BYTE_IMAGES_CPU]; + device_vector<uchar4> tex_byte4_image[TEX_NUM_BYTE4_CPU]; + device_vector<float4> tex_float4_image[TEX_NUM_FLOAT4_CPU]; + device_vector<float> tex_float_image[TEX_NUM_FLOAT_CPU]; + device_vector<uchar> tex_byte_image[TEX_NUM_BYTE_CPU]; /* opencl images */ device_vector<uchar4> tex_image_byte4_packed; |