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
Jason Ekstrand
f6cae99294
vulkan-1.0.0: Split out command buffer inheritance info
2016-01-14 07:45:15 -08:00
Jason Ekstrand
f99f847412
vulkan-1.0.0: Re-order some structs in the header
2016-01-14 07:43:05 -08:00
Jason Ekstrand
aab9517f3d
vulkan-1.0.0: Misc. field and argument renames
2016-01-14 07:41:45 -08:00
Jason Ekstrand
d877095e66
vulkan-1.0.0: Get rid of MIPMAP_MODE_BASE
2016-01-14 07:32:16 -08:00
Jason Ekstrand
7b81637762
vulkan-1.0.0: Convert pPreserveAttachments to a uint32_t
2016-01-14 07:30:46 -08:00
BogDan Vatra
102c74277f
WIP: Partially upgrade to vulkan v0.221.0
...
TODO, make use of:
- VkPhysicalDeviceFeatures.drawIndirectFirstInstance,
- VkPhysicalDeviceFeatures.inheritedQueries
- VkPhysicalDeviceLimits.timestampComputeAndGraphics
- VkSubmitInfo.pWaitDstStageMask
- VkSubresourceLayout.arrayPitch
- VkSamplerCreateInfo.anisotropyEnable
2016-01-14 07:30:46 -08:00
Jason Ekstrand
46bcf9d777
vulkan: Pull in the 0.210.1 vk_platform header
...
Somehow this got missed in the API update.
2015-12-09 11:55:38 -08:00
Jason Ekstrand
d666487dc6
vk: Add new WSI support and bump the API to 0.210.1
2015-12-03 15:15:29 -08:00
Jason Ekstrand
4c19243562
vk/0.210.0: Advertise version 0.210.0
2015-12-03 13:44:02 -08:00
Jason Ekstrand
888744cabf
vk/0.210.0: Update queries to the new API
2015-12-03 13:44:02 -08:00
Jason Ekstrand
fa2435de3c
vk/0.210.0: Update the VkFormat enum
2015-12-03 13:44:02 -08:00
Jason Ekstrand
4e904a0310
vk/0.210.0: Rework vkQueueSubmit
2015-12-03 13:44:02 -08:00
Jason Ekstrand
5757ad2959
vk/0.210.0: Remove depth clip and add depth clamp
2015-12-03 13:43:59 -08:00
Jason Ekstrand
d689745303
vk/0.210.0: Rework device features and limits
2015-12-03 13:43:54 -08:00
Jason Ekstrand
74c4c4acb6
vk/0.210.0: Rework QueueFamilyProperties
2015-12-03 13:43:54 -08:00
Jason Ekstrand
fed3586f34
vk/0.210.0: Rework result and structure type enums
...
By and large, this is just moving enum values around. However, it also
removed VK_UNSUPPORTED which we were returning a number of places. Those
places now return VK_ERROR_INCOMPATABLE_DRIVER.
2015-12-03 13:43:54 -08:00
Jason Ekstrand
a5f19f64c3
vk/0.210.0: Remove the VkShaderStage enum
...
This made for an unfortunately large amount of work since we were using it
fairly heavily internally. However, gl_shader_stage does basically the
same things, so it's not too bad.
2015-12-03 13:43:54 -08:00
Jason Ekstrand
e10dc002e9
vk/0.210.0: Remove VkShader
2015-12-03 13:43:54 -08:00
Jason Ekstrand
e6ab06ae7f
vk/0.210.0: Rework memory property flags
2015-12-03 13:43:54 -08:00
Jason Ekstrand
93071482f9
vk/0.210.0: Remove some unused enum values
2015-12-03 13:43:54 -08:00
Jason Ekstrand
b264012fcf
vk/0.210.0: Update VkPipelineStageFlagBits
2015-12-03 13:43:54 -08:00
Jason Ekstrand
1aaf15bf19
vk/0.210.0: Trivial function argument name change
2015-12-03 13:43:53 -08:00
Jason Ekstrand
938a2939c8
vk/0.210.0: We now allocate command buffers; not create them
2015-12-03 13:43:53 -08:00
Jason Ekstrand
5a02441789
vk/0.210.0: Rename a parameter to GetImageSparseMemoryRequirements
2015-12-03 13:43:53 -08:00
Jason Ekstrand
a9fc0ce0e3
vk/0.210.0: Delete three no longer existant entrypoints
2015-12-03 13:43:53 -08:00
Jason Ekstrand
fcfb404a58
vk/0.210.0: Rework allocation to use the new pAllocator's
2015-12-03 13:43:53 -08:00
Jason Ekstrand
d3547e7334
vk/0.210.0: Use VkSampleCountFlagBits for sample counts
2015-12-03 13:43:53 -08:00
Jason Ekstrand
9349625d60
vk/0.210.0: Rework VkInstanceCreateInfo
2015-12-03 13:43:53 -08:00
Jason Ekstrand
c30a021820
vk/0.210.0: More function argument renaming
2015-12-03 13:43:53 -08:00
Jason Ekstrand
b1cd025b88
vk/0.210.0: Replace MemoryInput/OutputFlags with AccessFlags
2015-12-03 13:43:53 -08:00
Jason Ekstrand
43f3e92348
vk/0.210.0: Rework render pass description structures
2015-12-03 13:43:53 -08:00
Jason Ekstrand
299f8f1511
vk/0.210.0: More structure field renaming
2015-12-03 13:43:53 -08:00
Jason Ekstrand
407b8cc5e0
vk/0.210.0: Get rid of VkImageAspect
2015-12-03 13:43:53 -08:00
Jason Ekstrand
3f6abd0161
vk/0.210.0: Rework descriptor sets
2015-12-03 13:43:52 -08:00
Jason Ekstrand
6a6da54ccb
vk/0.210.0: Rename parameters to memory binding/mapping functions
2015-12-03 13:43:52 -08:00
Jason Ekstrand
aadb7dce9b
vk/0.210.0: Update to the new instance/device create structs
2015-12-03 13:43:52 -08:00
Jason Ekstrand
607fe31598
vk/0.210.0: More trivial struct/enum changes
2015-12-03 13:43:52 -08:00
Jason Ekstrand
dde7172a8a
vk/0.210.0: Trivial flag enum updates
2015-12-03 13:43:52 -08:00
Jason Ekstrand
4cf0b57bbf
vk/0.210.0: Rename ChannelFlags to ColorComponentFlags
2015-12-03 13:43:52 -08:00
Jason Ekstrand
7f2284063d
vk/0.210.0: s/raster/rasterization/
2015-12-03 13:43:52 -08:00
Jason Ekstrand
1ab9f843bc
vk/0.210.0: Don't allow chaining of description structs
2015-12-03 13:43:52 -08:00
Jason Ekstrand
17486b8664
vk/0.210.0: More fun with flags fields
2015-12-03 13:43:52 -08:00
Jason Ekstrand
f5ba1f994a
vk/0.210.0: Make pCode a uint32_t pointer
2015-12-03 13:43:52 -08:00
Jason Ekstrand
5f348bd0e5
vk/0.210.0: Rename origin fields of VkViewport
2015-12-03 13:43:52 -08:00
Jason Ekstrand
9fa6e328eb
vk/0.210.0: Move alphaToOne and alphaToCoverate to multisample state
2015-12-03 13:43:52 -08:00
Jason Ekstrand
f97c3b6d58
vk/0.210.0: Add flags fields to various pipeline create structs
2015-12-03 13:43:51 -08:00
Jason Ekstrand
e673d64209
vk/0.210.0: Change field names in vertex input structs
2015-12-03 13:43:51 -08:00
Jason Ekstrand
fd53603e42
vk/0.210.0: Misc. no-op structure changes
...
The only non-trivial change is to sparse resources that we don't handle
anyway.
2015-12-03 13:43:51 -08:00
Jason Ekstrand
fe644721aa
vk/0.210.0: Rename property pCount parameters
2015-12-03 13:43:51 -08:00
Jason Ekstrand
e8f2294cd2
vk/0.210.0: Rework sampler filtering and mode enums
2015-12-03 13:43:51 -08:00
Jason Ekstrand
2e10ca5748
vk/0.210.0: Misc. function argument renames
2015-12-03 13:43:51 -08:00
Jason Ekstrand
569f70be56
vk/0.210.0: Rework copy/clear/blit API
2015-12-03 13:43:47 -08:00
Jason Ekstrand
4ab9391fbb
vk/0.210.0: Rework dynamic states
2015-11-30 14:19:41 -08:00
Jason Ekstrand
73ef7d47d2
vk/0.210.0: Rework color blending enums
2015-11-30 13:49:28 -08:00
Jason Ekstrand
9b1cb8fdbc
vk/0.210.0: Rework a few raster/input enums
2015-11-30 13:28:17 -08:00
Jason Ekstrand
a53f23d93f
vk/0.210.0: Rework texture view component mapping
2015-11-30 13:06:12 -08:00
Jason Ekstrand
f1a7c7841f
vk/0.210.0: Switch to the new VKAPI function decorations
...
While we're at it, we do a bunch of the VkResult -> void updates
2015-11-30 12:46:30 -08:00
Jason Ekstrand
a89a485e79
vk/0.210.0: Rename CmdBuffer to CommandBuffer
2015-11-30 11:48:08 -08:00
Jason Ekstrand
6a8a542610
vk/0.210.0: A pile of minor enum updates
2015-11-30 11:12:44 -08:00
Jason Ekstrand
3db43e8f3e
vk/0.210.0: Switch to the new-style handle declarations
2015-11-30 10:58:02 -08:00
Jason Ekstrand
5cb57806b2
vk: Add connonical 0.170.2 and 0.210.0 headers
...
This is in preparation for the API update
2015-11-30 10:24:35 -08:00
Jason Ekstrand
8984559892
vk/0.170.2: Update to the new VK_EXT_KHR_swapchain extensions
2015-10-08 12:11:18 -07:00
Chad Versace
7fa98ab182
vk: Remove temporary vulkan headers
...
Remove vulkan-0.138.2.h and vulkan-0.170.2.h. Their purpose was to aid
the header update to 0.170.2.
2015-10-07 11:45:48 -07:00
Chad Versace
2f1ca71360
vk/0.170.2: Bump header version
...
The header is now fully updated.
2015-10-07 11:44:44 -07:00