]> git.tdb.fi Git - libs/gl.git/commit
Use size_t to store sizes of buffers and such
authorMikko Rasa <tdb@tdb.fi>
Sat, 30 Oct 2021 19:25:15 +0000 (22:25 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 30 Oct 2021 22:28:12 +0000 (01:28 +0300)
commitbe6ffe96ecb4707599fe1a6f620c348760213d46
tree5358ce95b088bbd255e55a87f1b3a1b595adb28b
parent84e0e55710123e54617d342df852007f8b60af24
Use size_t to store sizes of buffers and such

Shader reflection data can stick to 32-bit sizes, since SPIR-V's
decorations only take 32-bit operands.
22 files changed:
source/backends/opengl/buffer_backend.cpp
source/backends/opengl/buffer_backend.h
source/core/batch.cpp
source/core/batch.h
source/core/buffer.cpp
source/core/buffer.h
source/core/bufferable.cpp
source/core/bufferable.h
source/core/datatype.h
source/core/mesh.cpp
source/core/mesh.h
source/core/texture.h
source/core/texture1d.h
source/core/texture2d.h
source/core/texture2dmultisample.h
source/core/texture3d.h
source/core/texturecube.h
source/core/uniformblock.cpp
source/core/uniformblock.h
source/core/vertexarray.cpp
source/core/vertexarray.h
source/resources/resource.h