mesa/src
Alejandro Piñeiro 06e5daf575 spirv_extensions: add list of extensions and to_string method
Ideally this should be generated somehow. One option would be gather
all the extension dependencies listed on the core grammar, but there
would be the possibility of not including some of the extensions.

Note that spirv-tools is doing it just slightly better, as it has a
hardcoded list of extensions manually took from the registry, that
they parse to get the enum and the to_string method (see
generate_grammar_tables.py).

v2:
  * Use a macro to improve readability. (Tapani Pälli)
  * Add unreachable on the switch, no default (Eric Engestrom)
  * No typedef enum (Ian Romanick)
  * Sort extensions names (Ian Romanick)
  * Don't add extensions unlikely to be supported by Mesa at any point
    (Ian Romanick)

v3: rebase update

v4: Include AMD_gcn_shader

v5: move spirv_extensions_to_string to src/mesa/main/spirv_extensions.c

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>
2019-07-17 10:44:33 +02:00
..
amd radv/gfx10: implement VK_EXT_post_depth_coverage 2019-07-17 08:32:39 +02:00
broadcom v3d: use inc/dec tmu operation with image atomic sub/add of 1 2019-07-12 11:51:22 +02:00
compiler spirv: Bail when we see CounterBuffer decoration 2019-07-16 20:31:12 -07:00
egl egl/android: handle multi-fd native windows 2019-07-16 18:14:44 +00:00
etnaviv etnaviv: detect v4 compression 2019-07-04 14:05:18 -04:00
freedreno freedreno: Generate headers from xml files 2019-07-10 22:05:02 +00:00
gallium softpipe: Remove unused static function 2019-07-17 04:52:27 +00:00
gbm gbm: sort symbols 2019-07-10 11:27:51 +00:00
getopt
glx glx: fix glvnd pointer types 2019-06-20 17:21:37 +01:00
gtest
hgl
imgui imgui: bump imgui memory editor copy 2019-06-18 15:34:13 +00:00
intel anv: Increase state allocation size limit to 2MB 2019-07-16 14:17:52 -07:00
loader
mapi spirv_extensions: add GL_ARB_spirv_extensions boilerplate 2019-07-17 10:41:44 +02:00
mesa spirv_extensions: add list of extensions and to_string method 2019-07-17 10:44:33 +02:00
panfrost pandecode: Add more addresses to trace 2019-07-16 08:40:59 -07:00
util src/util: Switch _mesa_half_to_float() to u_half.h's version. 2019-07-16 12:51:13 -07:00
vulkan vulkan: add symbols file 2019-07-10 11:27:51 +00:00
meson.build lima,panfrost: Move lima_tiling.c/h to /src/panfrost 2019-06-20 08:06:35 -07:00
SConscript