Eric Engestrom
31d302ae51
vulkan: import vk_layer.h from Khronos
...
Instead of relying on the system having it (and the right version).
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
2019-03-05 13:24:14 +00:00
Eric Engestrom
e37ea1e0d3
vulkan: import missing file from Khronos
...
Fixes: 114c4aa0c8
"vulkan: update headers/registry to 1.1.102"
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
2019-03-05 12:52:31 +00:00
Lionel Landwerlin
114c4aa0c8
vulkan: update headers/registry to 1.1.102
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com >
Reviewed-by: Tapani Pälli <tapani.palli@intel.com >
2019-03-05 10:39:11 +00:00
Lionel Landwerlin
fa4e103c32
vulkan: Update the XML and headers to 1.1.101
2019-02-20 09:57:58 +00:00
Jason Ekstrand
027835b1da
vulkan: Update the XML and headers to 1.1.97
...
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
2019-01-07 10:00:01 -06:00
Jason Ekstrand
e5b59fe6f5
vulkan: Update the XML and headers to 1.1.96
...
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
2018-12-17 10:41:56 -06:00
Jason Ekstrand
71271e167b
vulkan: Update the XML and headers to 1.1.95
...
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
2018-12-03 14:27:10 -06:00
Jason Ekstrand
2ca9a4417d
vulkan: Update the XML and headers to 1.1.93
...
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com >
2018-11-22 08:16:40 -06:00
Jason Ekstrand
610061838a
vulkan: Update the XML and headers to 1.1.91
...
The biggest change here is the rename of VK_NVX_ray_tracing to
VK_NV_ray_tracing and the total removal of VK_KHR_mir_surface.
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
2018-11-06 12:21:19 -06:00
Jason Ekstrand
e8a5fa054d
vulkan: Update the XML and headers to 1.1.90
...
This doesn't include any new features but it does include an XML and
header typo fix for modifiers.
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
2018-10-29 10:17:19 -05:00
Jason Ekstrand
2241be1d1b
vulkan: Add the fuchsia headers
...
These were missing in the last couple of spec updates.
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
2018-10-15 10:20:31 -05:00
Samuel Pitoiset
13fd4e601c
vulkan: Update the XML and headers to 1.1.88
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Acked-by: Jason Ekstrand <jason@jlekstrand.net >
2018-10-13 09:56:18 -05:00
Jason Ekstrand
6ee1709170
vulkan: Update the XML and headers to 1.1.86
...
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
2018-10-01 11:43:20 -05:00
Jason Ekstrand
34a17a48d4
vulkan: Update the XML and headers to 1.1.84
...
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
2018-09-10 13:30:21 -05:00
Jason Ekstrand
7c92c7d151
vulkan: Update the XML and headers to 1.1.80
...
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
2018-07-08 21:39:18 -07:00
Bas Nieuwenhuizen
b0002e4e05
vulkan: Update header+vk.xml to 1.1.76
...
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Dave Airlie <airlied@redhat.com >
2018-05-28 12:08:20 +02:00
Tapani Pälli
437acae704
vulkan: update vk_icd.h to current upstream
...
Import from commit eb0c1fd on branch 'master'
of https://github.com/KhronosGroup/Vulkan-Headers.git .
Signed-off-by: Tapani Pälli <tapani.palli@intel.com >
Acked-by: Jason Ekstrand <jason@jlekstrand.net >
2018-05-21 09:26:50 +03:00
Jason Ekstrand
35ef0f767e
vulkan: Update the XML and headers to 1.1.73
...
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
2018-04-16 07:59:25 -07:00
Samuel Pitoiset
b30dec738a
vulkan: Update the XML and headers to 1.1.72
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
2018-04-09 14:28:13 +02:00
Jason Ekstrand
205c271562
vulkan: Update the XML and headers to 1.1.70
...
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com >
2018-03-07 12:13:47 -08:00
Jason Ekstrand
3960d0e332
vulkan: Rename multiview from KHX to KHR
...
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com >
Reviewed-by: Dave Airlie <airlied@redhat.com >
2018-03-07 12:13:47 -08:00
Jason Ekstrand
af9d4ce480
vulkan: Update the XML and headers to 1.0.68
...
Acked-by: Dave Airlie <airlied@redhat.com >
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Acked-by: Chad Versace <chadversary@chromium.org >
2018-01-25 13:30:05 -08:00
Jason Ekstrand
07850893a1
vulkan: Update the XML and headers to 1.0.66
...
Acked-by: Dave Airlie <airlied@redhat.com >
2017-11-27 21:41:46 -08:00
Alex Smith
9626128f32
vulkan: Update headers and registry to 1.0.64
...
Acked-by: Dave Airlie <airlied@redhat.com >
Signed-off-by: Alex Smith <asmith@feralinteractive.com >
2017-10-26 05:17:57 +10:00
Andres Rodriguez
b7c2f70656
vulkan: update headers & registry to VK 1.0.63
...
Signed-off-by: Andres Rodriguez <andresx7@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
2017-10-21 01:01:44 +02:00
Chad Versace
f07ac34e6f
vulkan: Add #ifdef hack to vk_android_native_buffer.h
...
This patch consolidates many potential `#ifdef ANDROID` messes
throughout src/vulkan and src/intel/vulkan into a simple, localized
hack. The hack is an `#ifdef ANDROID` in vk_android_native_buffer.h
that, on non-Android platorms, avoids including the Android platform
headers and typedefs any Android-specific types to void*.
This hack doesn't remove *all* the `#ifdef ANDROID`s in upcoming
patches, but it does remove a lot.
I first tried implementing VK_ANDROID_native_buffer without this hack,
but eventually gave up when the yak shaving became too much.
Reviewed-by: Tapani Pälli <tapani.palli@intel.com >
2017-09-18 14:26:54 -07:00
Chad Versace
5872ccc9ac
vulkan: Import vk_android_native_buffer.h
...
Just as Mesa imports the Khronos Vulkan headers, it should import this
Android-private Vulkan header too. This guarantees that Mesa will
continue to build even when upstream Android breaks header
compatibility.
This header is only for *implementers* of Vulkan, not for consumers of
Vulkan.
Imported from tag 'android-7.1.1_r28' in aosp/frameworks/native.
References: https://android.googlesource.com/platform/frameworks/native/+/android-7.1.1_r28/vulkan/include/vulkan/vk_android_native_buffer.h
Reviewed-by: Tapani Pälli <tapani.palli@intel.com >
2017-09-18 14:26:54 -07:00
Lionel Landwerlin
5ff06ddf3b
vulkan: update headers & registry to VK 1.0.61
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Acked-by: Jason Ekstrand <jason@jlekstrand.net >
2017-09-15 08:56:40 -07:00
Dave Airlie
b3f87b87f6
vulkan: import 1.0.59 headers and xml.
...
Acked-by: Jason Ekstrand <jason@jlekstrand.net >
2017-08-22 07:00:50 +10:00
Jason Ekstrand
35338a242b
vulkan: Import in the latest 1.0.57 header and XML from Khronos
...
Acked-by: Dave Airlie <airlied@redhat.com >
2017-08-01 13:27:12 -07:00
Jason Ekstrand
227debdc92
vulkan: Update to the new 1.0.54 spec XML and headers
...
There is one small ANV change here because we used the
VK_ERROR_INVALID_EXTERNAL_HANDLE_KHX enum in the BO cache and that had
to be updated to have the _KHR suffix.
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
2017-07-15 08:59:38 -07:00
Jason Ekstrand
c58f8bb56b
vulkan: Update registry and headers to 1.0.49
...
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com >
2017-05-16 08:38:34 -07:00
Jason Ekstrand
d6fccb4c09
vulkan: Bump the header and XML to the latest public version
2017-03-31 22:41:43 -07:00
Jason Ekstrand
54dd42eb94
vulkan: Update registry and headers to 1.0.42
...
This brings in a bunch of new extensions
2017-02-27 09:44:45 -08:00
Dave Airlie
e38bee34bf
vulkan: bump vulkan.h to 1.0.39 version
...
This introduces a bunch of new extension defines.
Acked-by: Jason Ekstrand <jason@jlekstrand.net >
Signed-off-by: Dave Airlie <airlied@redhat.com >
2017-01-24 08:13:23 +10:00
Lionel Landwerlin
60bc90cea8
include: update Vulkan headers
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Acked-by: Jason Ekstrand <jason@jlekstrand.net >
2017-01-14 19:29:44 +00:00
Chad Versace
98cf089849
vulkan: Update vk_icd.h to interface version 3
...
Import from commit f2aeefec on branch 'master'
of https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers .
Reviewed-by: Emil Velikov <emil.velikov@collabora.com >
Cc: mesa-stable@lists.freedesktop.org
2017-01-12 09:42:32 -08:00
Dave Airlie
98969808ff
vulkan: import latest public vulkan headers + and fix drivers.
...
I just noticed the new vulkan headers changed a prototype,
so I've decided to import them and fix the drivers to use the
new API.
Acked-by: Jason Ekstrand <jason.ekstrand@intel.com >
Signed-off-by: Dave Airlie <airlied@redhat.com >
2016-11-11 12:33:07 +10:00
Eric Engestrom
3bd885d09c
Introduce .editorconfig
...
A few weeks ago, Jose Fonseca suggested [0] we use .editorconfig files
to try and enforce the formatting of the code, to which Michel Dänzer
suggested [1] we start by importing the existing .dir-locals.el
settings. The first draft was discussed in the RFC [2].
These .editorconfig are a first step, one that has the advantage of
requiring little to no intervention from the devs once the settings
files are in place, but the settings are very limited. This does have
the advantage of applying while the code is being written.
This doesn't replace the need for more comprehensive formatting tools
such as clang-format & clang-tidy, but those reformat the code after
the fact.
[0] https://lists.freedesktop.org/archives/mesa-dev/2016-June/121545.html
[1] https://lists.freedesktop.org/archives/mesa-dev/2016-June/121639.html
[2] https://lists.freedesktop.org/archives/mesa-dev/2016-July/123431.html
Acked-by: Nicolai Hähnle <nicolai.haehnle@amd.com >
Acked-by: Eric Anholt <eric@anholt.net >
Signed-off-by: Eric Engestrom <eric@engestrom.ch >
Reviewed-by: Jose Fonseca <jfonseca@vmware.com >
2016-08-31 17:06:54 -07:00
Eric Engestrom
7362bb3e21
vk/intel: use negative VK_NO_PROTOTYPES scheme
...
3d0fac7aca
changed all
VK_PROTOTYPES to VK_NO_PROTOTYPES
This brings the Intel header in line with the rest of the Vulkan code.
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com >
Reviewed-by: Emil Velikov <emil.velikov@collabora.com >
Reviewed-by: Chad Versace <chad.versace@intel.com >
2016-05-23 12:07:46 +01:00
Jason Ekstrand
8dd86e8aa7
Update to the latest Vulkan header from Khronos
2016-03-22 16:06:53 -07:00
Jason Ekstrand
c7f26bbed9
vulkan: Bump the header to 1.0.3
2016-02-02 13:08:47 -08:00
Jason Ekstrand
d4953fb340
vulkan: Import vk_icd.h
2016-01-29 20:37:45 -08:00
Jason Ekstrand
ac75746448
vulkan.h: Update to 1.0.2
2016-01-27 21:59:00 -08:00
Jason Ekstrand
3d0fac7aca
vulkan.h: Pull in 1.0.1 header
2016-01-14 08:37:54 -08:00
Jason Ekstrand
24a6fcba77
vulkan-1.0.0: Bump the version to 1.0.0
2016-01-14 08:26:37 -08:00
Jason Ekstrand
c310fb032d
vulkan-1.0.0: Rework memory barriers
2016-01-14 08:09:39 -08:00
Jason Ekstrand
b14a78cfb8
vulkan-1.0.0: No-op WSI changes
2016-01-14 08:02:44 -08:00
Jason Ekstrand
6d3322d0e5
vulkan-1.0.0: Make extents unsigned
2016-01-14 08:00:18 -08:00
Jason Ekstrand
b57c72d964
vulkan-1.0.0: Rework blits to use four offsets
2016-01-14 07:59:37 -08:00