gpu/internal,internal/gl: add support for strided texture uploads

The CPU fallback of the compute renderer needs to upload subtextures
from a larger image.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2021-07-19 19:01:51 +02:00
parent abfbeb87cc
commit 60a47e7de5
8 changed files with 41 additions and 27 deletions
+1
View File
@@ -106,6 +106,7 @@ const (
UNIFORM_BUFFER = 0x8A11
UNIFORM_BUFFER_BINDING = 0x8A28
UNPACK_ALIGNMENT = 0xcf5
UNPACK_ROW_LENGTH = 0x0CF2
UNSIGNED_BYTE = 0x1401
UNSIGNED_SHORT = 0x1403
VIEWPORT = 0x0BA2