[Mesa-dev] [PATCH v3 0/6] ARB_spirv_extensions support in Mesa and i965
Eduardo Lima Mitev
elima at igalia.com
Wed Dec 13 20:09:13 UTC 2017
Hi,
This series is the latest version of the support for ARB_spirv_extensions on i965.
It was split from a previous series that included also support for gl_spirv, but since this is an independent extension, we have chosen to send it separately to streamline review of the two series.
This extension however depends on gl_spirv, so it should be applied on top of the v3 series I just sent for gl_spirv <https://lists.freedesktop.org/archives/mesa-dev/2017-December/180039.html> if someone wants to try it.
A tree of this series can be found at <https://github.com/Igalia/mesa/tree/arb_spirv_extensions-series-v3>.
Thanks for reviewing!
cheers,
Eduardo
Alejandro PiƱeiro (6):
spirv_extensions: add GL_ARB_spirv_extensions boilerplate
spirv_extensions: add list of extensions and to_string method
spirv_extensions: define spirv_extensions_supported
spirv_extensions: add spirv_supported_extensions on gl_constants
spirv_extensions: i965: initialize SPIR-V extensions
i965: enable ARB_spirv_extensions for gen8+
src/compiler/Makefile.sources | 2 +
src/compiler/nir/meson.build | 2 +
src/compiler/spirv/spirv_extensions.c | 78 ++++++++++++++++++++++++++++
src/compiler/spirv/spirv_extensions.h | 62 ++++++++++++++++++++++
src/mapi/glapi/gen/ARB_spirv_extensions.xml | 13 +++++
src/mapi/glapi/gen/Makefile.am | 1 +
src/mapi/glapi/gen/gl_API.xml | 4 ++
src/mapi/glapi/gen/meson.build | 1 +
src/mesa/Makefile.sources | 2 +
src/mesa/drivers/dri/i965/brw_context.c | 9 +++-
src/mesa/drivers/dri/i965/intel_extensions.c | 1 +
src/mesa/main/context.c | 2 +
src/mesa/main/extensions_table.h | 1 +
src/mesa/main/get.c | 6 +++
src/mesa/main/get_hash_params.py | 3 ++
src/mesa/main/getstring.c | 12 +++++
src/mesa/main/mtypes.h | 4 ++
src/mesa/main/spirv_extensions.c | 60 +++++++++++++++++++++
src/mesa/main/spirv_extensions.h | 49 +++++++++++++++++
src/mesa/meson.build | 2 +
20 files changed, 313 insertions(+), 1 deletion(-)
create mode 100644 src/compiler/spirv/spirv_extensions.c
create mode 100644 src/compiler/spirv/spirv_extensions.h
create mode 100644 src/mapi/glapi/gen/ARB_spirv_extensions.xml
create mode 100644 src/mesa/main/spirv_extensions.c
create mode 100644 src/mesa/main/spirv_extensions.h
--
2.15.1
More information about the mesa-dev
mailing list