diff options
author | Thomas Dinges <blender@dingto.org> | 2014-05-11 05:38:39 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2014-05-11 05:38:39 +0400 |
commit | c08c931fb6f57bdca7865d48ac09a0775590f3ce (patch) | |
tree | 8d5bbe8b0e23288d6227545811b3822eebf01fba /intern/cycles/render/scene.h | |
parent | 8904eaf5047780eaf97eb7dc3acebb1b65f258bd (diff) |
Cycles / CUDA: Increase maximum image textures on GPU.
Instead of 95, we can use 145 images now. This only affects Kepler and above (sm30, sm_35 and sm_50).
This can be increased further if needed, but let's first test if this does not come with a performance impact.
Originally developed during my GSoC 2013.
Diffstat (limited to 'intern/cycles/render/scene.h')
-rw-r--r-- | intern/cycles/render/scene.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/render/scene.h b/intern/cycles/render/scene.h index c913b4c59da..0f0bb725823 100644 --- a/intern/cycles/render/scene.h +++ b/intern/cycles/render/scene.h @@ -105,8 +105,8 @@ public: /* integrator */ device_vector<uint> sobol_directions; - /* images */ - device_vector<uchar4> tex_image[TEX_EXTENDED_NUM_IMAGES]; + /* cpu images */ + device_vector<uchar4> tex_image[TEX_EXTENDED_NUM_IMAGES_CPU]; device_vector<float4> tex_float_image[TEX_EXTENDED_NUM_FLOAT_IMAGES]; /* opencl images */ |