internal/gl: implement glGetProgramBinary

Useful for debugging shader compiler issues, such as those that may
cause

https://github.com/linebender/piet-gpu/issues/83

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2021-04-18 16:52:06 +02:00
parent 3b69b5ed05
commit f930e3f3d7
2 changed files with 18 additions and 0 deletions
+1
View File
@@ -51,6 +51,7 @@ const (
NUM_EXTENSIONS = 0x821D
ONE = 0x1
ONE_MINUS_SRC_ALPHA = 0x303
PROGRAM_BINARY_LENGTH = 0x8741
QUERY_RESULT = 0x8866
QUERY_RESULT_AVAILABLE = 0x8867
R16F = 0x822d