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:
authorGermano Cavalcante <mano-wii>2021-06-07 14:38:38 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2021-06-07 14:41:38 +0300
commit223016a408bc0086b4cbdeec3a8c1db66c2d2236 (patch)
tree1c7eeca0848546793747ab21cb1107bd52e70d1a /source/blender/gpu/intern/gpu_index_buffer_private.hh
parent6e6a1838ea6923df147813954ce08b0093cf00be (diff)
GPUIndexBuf: Find the minimum and maximum index through the builder
Moving the bounds code to the builder can be useful for future optimizations like building multithreaded. Reviewed By: fclem, jbakker Differential Revision: https://developer.blender.org/D11455
Diffstat (limited to 'source/blender/gpu/intern/gpu_index_buffer_private.hh')
-rw-r--r--source/blender/gpu/intern/gpu_index_buffer_private.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_index_buffer_private.hh b/source/blender/gpu/intern/gpu_index_buffer_private.hh
index 358258604bf..e8a47417604 100644
--- a/source/blender/gpu/intern/gpu_index_buffer_private.hh
+++ b/source/blender/gpu/intern/gpu_index_buffer_private.hh
@@ -73,7 +73,7 @@ class IndexBuf {
IndexBuf(){};
virtual ~IndexBuf();
- void init(uint indices_len, uint32_t *indices);
+ void init(uint indices_len, uint32_t *indices, uint min_index, uint max_index);
void init_subrange(IndexBuf *elem_src, uint start, uint length);
void init_build_on_device(uint index_len);