From 50c5fac4e2cb0807c71f5c42d6e8015d636e6eef Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 3 Dec 2012 10:34:19 -0800 Subject: [PATCH] mesa: Add Get support for PROGRAM_BINARY_FORMATS and NUM_PROGRAM_BINARY_FORMATS Signed-off-by: Ian Romanick Reviewed-by: Kenneth Graunke --- src/mesa/main/get_hash_params.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index 1c64a27854c..26a722a87a7 100644 --- a/src/mesa/main/get_hash_params.py +++ b/src/mesa/main/get_hash_params.py @@ -312,6 +312,10 @@ descriptor=[ [ "MAX_FRAGMENT_UNIFORM_VECTORS", "LOC_CUSTOM, TYPE_INT, 0, extra_ARB_ES2_compatibility_api_es2" ], [ "NUM_SHADER_BINARY_FORMATS", "CONST(0), extra_ARB_ES2_compatibility_api_es2" ], [ "SHADER_BINARY_FORMATS", "CONST(0), extra_ARB_ES2_compatibility_api_es2" ], + +# GL_ARB_get_program_binary / GL_OES_get_program_binary + [ "NUM_PROGRAM_BINARY_FORMATS", "CONST(0), extra_ARB_shader_objects" ], + [ "PROGRAM_BINARY_FORMATS", "LOC_CUSTOM, TYPE_INVALID, 0, extra_ARB_shader_objects" ], ]}, # GLES3 is not a typo. -- 2.30.2