Chad Versace
dd67c134ad
vk/0.132: Add vkDestroyImage()
...
We only need to add it to vulkan.h because Jason defined the function
earlier in image.c.
2015-07-14 10:13:00 -07:00
Chad Versace
e18377f435
vk/0.132: Dispatch vkDestroyObject to new destructors
...
Oops. My recent commits added new destructors, but forgot to teach
vkDestroyObject about them. They are:
vkDestroyFence
vkDestroyEvent
vkDestroySemaphore
vkDestroyQueryPool
vkDestroyBuffer
2015-07-14 09:58:22 -07:00
Chad Versace
e93b6d8eb1
vk/0.132: Add vkDestroyBuffer()
2015-07-14 09:47:45 -07:00
Chad Versace
584cb7a16f
vk/0.132: Add vkDestroyQueryPool()
2015-07-14 09:44:58 -07:00
Chad Versace
68c7ef502d
vk/0.132: Add vkDestroyEvent()
2015-07-14 09:33:47 -07:00
Chad Versace
549070b18c
vk/0.132: Add vkDestroySemaphore()
2015-07-14 09:31:34 -07:00
Chad Versace
ebb191f145
vk/0.132: Add vkDestroyFence()
2015-07-14 09:29:35 -07:00
Chad Versace
435ccf4056
vk/0.132: Rename VkDynamic*State types
...
sed -i -e 's/VkDynamicVpState/VkDynamicViewportState/g' \
-e 's/VkDynamicRsState/VkDynamicRasterState/g' \
-e 's/VkDynamicCbState/VkDynamicColorBlendState/g' \
-e 's/VkDynamicDsState/VkDynamicDepthStencilState/g' \
$(git ls-files include/vulkan src/vulkan)
2015-07-13 16:19:28 -07:00
Connor Abbott
ffb51fd112
nir/spirv: update to SPIR-V revision 31
...
This means that now the internal version of glslangValidator is
required. This includes some changes due to the sampler/texture rework,
but doesn't actually enable anything more yet. We also don't yet handle
UBO's correctly, and don't handle matrix stride and row major/column
major yet.
2015-07-13 15:01:01 -07:00
Chad Versace
45f8723f44
vk/0.132: Move VkQueryControlFlags
2015-07-13 13:09:32 -07:00
Chad Versace
180c07ee50
vk/0.132: Move VkImageAspectFlags
2015-07-13 13:08:56 -07:00
Chad Versace
4b05a8cd31
vk/0.132: Move VkCmdBufferOptimizeFlags
2015-07-13 13:08:07 -07:00
Chad Versace
f1cf55fae6
vk/0.132: Move VkWaitEvent
2015-07-13 13:06:53 -07:00
Chad Versace
3112098776
vk/0.132: Move VkCmdBufferLevel
2015-07-13 13:06:33 -07:00
Chad Versace
c633ab5822
vk/0.132: Drop VK_ATTACHMENT_STORE_OP_RESOLVE_MSAA
2015-07-13 13:05:24 -07:00
Chad Versace
8f3b2187e1
vk/0.132: Rename bool32_t -> VkBool32
...
sed -i 's/bool32_t/VkBool32/g' \
$(git ls-files src/vulkan include/vulkan)
2015-07-13 13:03:36 -07:00
Chad Versace
77dcfe3c70
vk/0.132: Remove stray typedef
2015-07-13 12:58:17 -07:00
Chad Versace
601d0891a6
vk/0.132: Move VKImageUsageFlags
2015-07-13 12:48:44 -07:00
Chad Versace
829810fa27
vk/0.132: Move VkImageType and VkImageTiling
2015-07-13 11:49:56 -07:00
Chad Versace
17c8232ecf
vk/0.132: Import the 0.132 header
...
Import it as vulkan-0.132.h.
2015-07-13 11:47:12 -07:00
Chad Versace
a158ff55f0
vk/vulkan.h: Remove headers for old API versions
...
Remove the temporary headers for 0.90 and 0.130.
2015-07-13 11:46:30 -07:00
Chad Versace
1c4238a8e5
vk/0.130: Bump header version to 0.130
...
All APIs have been updated. This eliminates the diff between the
work-in-progress header and the 0.130 header.
2015-07-10 20:06:09 -07:00
Chad Versace
f43a304dc6
vk/0.130: Update vkAllocMemory to use VkMemoryType
2015-07-10 17:35:52 -07:00
Chad Versace
df2a013881
vk/0.130: Implement vkGetPhysicalDeviceMemoryProperties()
2015-07-10 17:35:52 -07:00
Chad Versace
c7f512721c
vk/gem: Change signature of anv_gem_get_aperture()
...
Replace the anv_device parameter with anv_physical_device, because this needs
querying before vkCreateDevice.
2015-07-10 17:35:52 -07:00
Chad Versace
8cda3e9b1b
vk/device: Add member anv_physical_device::fd
...
During anv_physical_device_init(), we opend the DRM device to do some
queries, then promptly closed it. Now we keep it open for the lifetime
of the anv_physical_device so that we can query it some more during
vkGetPhysicalDevice*Properties() [which will happen in follow-up
commits].
2015-07-10 17:35:52 -07:00
Chad Versace
4422bd4cf6
vk/device: Add func anv_physical_device_finish()
...
Because in a follow-up patch I need to do some non-trival teardown on
anv_physical_device. Currently, however, anv_physical_device_finish() is
currently a no-op that's just called in the right place.
Also, rename function fill_physical_device -> anv_physical_device_init
for symmetry.
2015-07-10 17:35:52 -07:00
Jason Ekstrand
7552e026da
vk/device: Add an explicit destructor for RenderPass
2015-07-10 12:33:04 -07:00
Jason Ekstrand
8b342b39a3
vk/image: Add an explicit DestroyImage function
2015-07-10 12:30:58 -07:00
Jason Ekstrand
b94b8dfad5
vk/image: Add explicit constructors for buffer/image view types
2015-07-10 12:26:31 -07:00
Jason Ekstrand
18340883e3
nir: Add C++ versions of NIR_(SRC|DEST)_INIT
2015-07-10 11:57:33 -07:00
Chad Versace
9e64a2a8e4
mesa: Fix generation of git_sha1.h.tmp for gitlinks
...
Don't assume that $(top_srcdir)/.git is a directory. It may be a
gitlink file [1] if $(top_srcdir) is a submodule checkout or a linked
worktree [2].
[1] A "gitlink" is a text file that specifies the real location of
the gitdir.
[2] Linked worktrees are a new feature in Git 2.5.
Cc: "10.6, 10.5" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
(cherry picked from commit 75784243df )
2015-07-10 11:24:25 -07:00
Jason Ekstrand
19f0a9b582
vk/query.c: Use the casting functions
2015-07-09 20:32:44 -07:00
Jason Ekstrand
6eb221c884
vk/pipeline.c: Use the casting functions
2015-07-09 20:28:08 -07:00
Jason Ekstrand
fb4e2195ec
vk/formats.c: Use the casting functions
2015-07-09 20:24:17 -07:00
Jason Ekstrand
a52e208203
vk/image.c: Use the casting functions
2015-07-09 20:24:07 -07:00
Jason Ekstrand
b1de1d4f6e
vk/device.c: One more use of a casting function
2015-07-09 20:23:46 -07:00
Jason Ekstrand
8739e8fbe2
vk/meta.c: Use the casting functions
2015-07-09 20:16:13 -07:00
Jason Ekstrand
92556c77f4
vk: Fix the build
2015-07-09 18:59:08 -07:00
Jason Ekstrand
098209eedf
device.c: Use the cast helpers a bunch of places
2015-07-09 18:49:43 -07:00
Jason Ekstrand
73f9187e33
device.c: Use the cast helpers
2015-07-09 18:41:27 -07:00
Jason Ekstrand
7d24fab4ef
vk/private.h: Add a bunch of static inline casting functions
...
We will need these as soon as we turn on type saftey. We might as well
define and start using them now rather than later.
2015-07-09 18:40:54 -07:00
Jason Ekstrand
5c49730164
vk/device.c: Fix whitespace issues
2015-07-09 18:20:28 -07:00
Jason Ekstrand
c95f9b61f2
vk/device.c: Use ANV_FROM_HANDLE a bunch of places
2015-07-09 18:20:10 -07:00
Jason Ekstrand
335e88c8ee
vk/vulkan.h: Add the pEnabledFeatures field to DeviceCreateInfo
2015-07-09 16:21:31 -07:00
Jason Ekstrand
34871cf7f3
vk/vulkan.h: Change the MsCreateInfo structure to the 130 version
...
We do nothing with it at the moment, so this is a no-op.
2015-07-09 16:19:54 -07:00
Jason Ekstrand
8c2c37fae7
vk: Remove the old GetPhysicalDeviceInfo call
2015-07-09 16:14:37 -07:00
Jason Ekstrand
1f907011a3
vk: Add the new PhysicalDeviceQueue queries
2015-07-09 16:14:37 -07:00
Jason Ekstrand
977a469bce
vk: Support GetPhysicalDeviceProperties
2015-07-09 16:14:37 -07:00
Jason Ekstrand
65e0b304b6
vk: Add support for GetPhysicalDeviceLimits
2015-07-09 16:14:37 -07:00