QSSGBufferManager: refactor textureMemorySize()
Replace arrays of memory sizes for texture formats with
textureFormatSize() function.
This change simplifies addition of new texture formats in the future
and fixes sizes for RGBA16F and RGBA32F.
Pick-to: 6.11 6.10 6.8
Change-Id: I6492680826643aac0a274984f9bad79e13aaaac7
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
| commit | 1cd14b66802f6e0d3b315deb09996e3879707a6c |
| parent | ada76f77c97e12e7cf68008b7a217976cc660525 |
| author | Stanislav Aleksandrov <lightofmysoul@gmail.com> |
| committer | Stanislav Aleksandrov <lightofmysoul@gmail.com> |
| commit time | Wed, 17 Dec 2025 13:46:01 +0000 |