spirv_extensions: add GL_ARB_spirv_extensions boilerplate
authorAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 10 Oct 2017 14:09:25 +0000 (16:09 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Wed, 17 Jul 2019 08:41:44 +0000 (10:41 +0200)
commita622aad869abe0413cb034a39b464a3c76b332d1
tree5816e68409d278c79f61286af89f45365db78de1
parent07ff367442d52b301e05f9c4ff6d03b04ee703c1
spirv_extensions: add GL_ARB_spirv_extensions boilerplate

v2:
  * Mention extension gap at gl_API.xml (Emil Velikov)
  * Bail with INVALID_ENUM if extension not available on getStringi (Emil Velikov)
  * Use EXTRA_EXT macro when defining the extension at
    get.c/get_hash_params.py (Emil Velikov)
  * Rename source files (spirvextensions.[ch] -> spirv_extensions.[ch]) (Ian)

v3:
  * Fix GL_PROGRAM_BINARY_FORMATS glGet query, broken by error on a
    previous rebase

v4:
   * Fix rebase conflicts on getstring.c after
     GL_SHADING_LANGUAGE_VERSION query was added

v5:
   * Remove src/mapi/glapi/gen/Makefile.am as it no longer exists in
     master

Signed-off-by: Alejandro Piñeiro <apinheiro@igalia.com>
Signed-off-by: Arcady Goldmints-Orlov <agoldmints@igalia.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
12 files changed:
src/mapi/glapi/gen/ARB_spirv_extensions.xml [new file with mode: 0644]
src/mapi/glapi/gen/gl_API.xml
src/mapi/glapi/gen/meson.build
src/mesa/Makefile.sources
src/mesa/main/extensions_table.h
src/mesa/main/get.c
src/mesa/main/get_hash_params.py
src/mesa/main/getstring.c
src/mesa/main/mtypes.h
src/mesa/main/spirv_extensions.c [new file with mode: 0644]
src/mesa/main/spirv_extensions.h [new file with mode: 0644]
src/mesa/meson.build