debian/changelog | 7 ++ debian/copyright | 4 + debian/patches/install-vulkan-intel-header.diff | 68 ++++++++++++++++++++++++ debian/patches/series | 1 4 files changed, 80 insertions(+)
New commits: commit 7cdce4b723313f6d36a97c244c860f9872e4702a Author: Andreas Boll <andreas.boll....@gmail.com> Date: Thu Oct 6 11:59:45 2016 +0200 Ship vulkan_intel.h via libvulkan-dev (Imported from Mesa source package). diff --git a/debian/changelog b/debian/changelog index 4df80be..7cb1345 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +vulkan (1.0.26.0+dfsg1-2) UNRELEASED; urgency=medium + + * Ship vulkan_intel.h via libvulkan-dev (Imported from Mesa source + package). + + -- Andreas Boll <andreas.boll....@gmail.com> Thu, 06 Oct 2016 11:59:16 +0200 + vulkan (1.0.26.0+dfsg1-1) unstable; urgency=medium * New upstream release. diff --git a/debian/copyright b/debian/copyright index c1a06fb..f493a5f 100644 --- a/debian/copyright +++ b/debian/copyright @@ -40,6 +40,10 @@ Files: debian/* Copyright: 2016 Timo Aaltonen <tjaal...@debian.org> License: MIT +Files: debian/patches/install-vulkan-intel-header.diff +Copyright: 2015 Intel Corporation +License: MIT + Files: debian/SPIRV/spirv.hpp Copyright: 2014-2016 The Khronos Group Inc. License: MIT diff --git a/debian/patches/install-vulkan-intel-header.diff b/debian/patches/install-vulkan-intel-header.diff new file mode 100644 index 0000000..18bad9c --- /dev/null +++ b/debian/patches/install-vulkan-intel-header.diff @@ -0,0 +1,68 @@ +diff --git a/include/vulkan/vulkan_intel.h b/include/vulkan/vulkan_intel.h +new file mode 100644 +index 0000000..8ede61b +--- /dev/null ++++ b/include/vulkan/vulkan_intel.h +@@ -0,0 +1,62 @@ ++/* ++ * Copyright © 2015 Intel Corporation ++ * ++ * Permission is hereby granted, free of charge, to any person obtaining a ++ * copy of this software and associated documentation files (the "Software"), ++ * to deal in the Software without restriction, including without limitation ++ * the rights to use, copy, modify, merge, publish, distribute, sublicense, ++ * and/or sell copies of the Software, and to permit persons to whom the ++ * Software is furnished to do so, subject to the following conditions: ++ * ++ * The above copyright notice and this permission notice (including the next ++ * paragraph) shall be included in all copies or substantial portions of the ++ * Software. ++ * ++ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ++ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ++ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL ++ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ++ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING ++ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS ++ * IN THE SOFTWARE. ++ */ ++ ++#ifndef __VULKAN_INTEL_H__ ++#define __VULKAN_INTEL_H__ ++ ++#include "vulkan.h" ++ ++#ifdef __cplusplus ++extern "C" ++{ ++#endif // __cplusplus ++ ++#define VK_STRUCTURE_TYPE_DMA_BUF_IMAGE_CREATE_INFO_INTEL 1024 ++typedef struct VkDmaBufImageCreateInfo_ ++{ ++ VkStructureType sType; // Must be VK_STRUCTURE_TYPE_DMA_BUF_IMAGE_CREATE_INFO_INTEL ++ const void* pNext; // Pointer to next structure. ++ int fd; ++ VkFormat format; ++ VkExtent3D extent; // Depth must be 1 ++ uint32_t strideInBytes; ++} VkDmaBufImageCreateInfo; ++ ++typedef VkResult (VKAPI_PTR *PFN_vkCreateDmaBufImageINTEL)(VkDevice device, const VkDmaBufImageCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMem, VkImage* pImage); ++ ++#ifndef VK_NO_PROTOTYPES ++ ++VKAPI_ATTR VkResult VKAPI_CALL vkCreateDmaBufImageINTEL( ++ VkDevice _device, ++ const VkDmaBufImageCreateInfo* pCreateInfo, ++ const VkAllocationCallbacks* pAllocator, ++ VkDeviceMemory* pMem, ++ VkImage* pImage); ++ ++#endif ++ ++#ifdef __cplusplus ++} // extern "C" ++#endif // __cplusplus ++ ++#endif // __VULKAN_INTEL_H__ diff --git a/debian/patches/series b/debian/patches/series index d8cfb66..611ed45 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,3 +4,4 @@ loader-add-install-rule.diff demos-add-install-rule.diff layers-install-to-cmake-install-libdir.diff use-mxgot-for-mips64.patch +install-vulkan-intel-header.diff