diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2022-04-29 08:14:16 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2022-04-29 16:15:04 +0300 |
commit | 3d877c8a0d06ee539db541c6d410852f94fc618d (patch) | |
tree | 047b92a10ee88c7e756b27f6729551a2070a9bdb /source/blender/draw/intern/draw_subdivision.h | |
parent | a111a0f1e149dfbcf06b1dfd15d9764508d83028 (diff) |
Select Engine: port shader to use 'GPUShaderCreateInfo'
Simple port with a few cosmetic changes:
- Attribute named "color" for indices VBO is now called "index"
- The indices VBO is now composed of `int`s instead of `uint`s (this simplifies the source)
Differential Revision: https://developer.blender.org/D14800
Diffstat (limited to 'source/blender/draw/intern/draw_subdivision.h')
-rw-r--r-- | source/blender/draw/intern/draw_subdivision.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_subdivision.h b/source/blender/draw/intern/draw_subdivision.h index 8d7bc3dc495..e5f64a99092 100644 --- a/source/blender/draw/intern/draw_subdivision.h +++ b/source/blender/draw/intern/draw_subdivision.h @@ -206,7 +206,7 @@ void draw_subdiv_init_mesh_render_data(DRWSubdivCache *cache, const struct ToolSettings *toolsettings); void draw_subdiv_init_origindex_buffer(struct GPUVertBuf *buffer, - int *vert_origindex, + int32_t *vert_origindex, uint num_loops, uint loose_len); |