diff options
author | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2022-03-15 18:07:32 +0300 |
---|---|---|
committer | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2022-03-15 18:07:32 +0300 |
commit | 3bb4597b2d23d5d3afd342c432b5cac23e2ba755 (patch) | |
tree | ad5a4b2493c565775576651771334cc6af6de9fa /intern/cycles/blender/addon/ui.py | |
parent | 45b637e1e79f817b182031246233c29a4344d159 (diff) |
Disable GPU subdivision if the maximum number of SSBO binding is reached
Some old platforms and drivers have limited amount of SSBO binding per
compute shader. This disables GPU subdivision if we cannot possibly
bind all required buffers within this limit.
For now the maximum number of buffers used by the GPU code is hardcoded,
but will be programmatically detected when shader creation is automated.
Ref D14337
Diffstat (limited to 'intern/cycles/blender/addon/ui.py')
0 files changed, 0 insertions, 0 deletions