Chad Versace
1ca611cbad
vk/0.132: Add vkDestroyCommandBuffer()
2015-07-14 11:11:41 -07:00
Chad Versace
6eec0b186c
vk/0.132: Add vkDestroyImageView()
...
Just declare it in vulkan.h. Jason defined the function earlier
in image.c.
2015-07-14 11:09:14 -07:00
Chad Versace
4b2c5a98f0
vk/0.132: Add vkDestroyBufferView()
...
Just declare it in vulkan.h. Jason already defined the function
earlier in vulkan.c.
2015-07-14 11:06:57 -07:00
Chad Versace
08f7731f67
vk/0.132: Add vkDestroyFramebuffer()
2015-07-14 10:59:30 -07:00
Chad Versace
0c8456ef1e
vk/0.132: Add vkDestroyDynamicDepthStencilState()
2015-07-14 10:54:51 -07:00
Chad Versace
b29c929e8e
vk/0.132: Add vkDestroyDynamicColorBlendState()
2015-07-14 10:52:45 -07:00
Chad Versace
5e1737c42f
vk/0.132: Add vkDestroyDynamicRasterState()
2015-07-14 10:51:08 -07:00
Chad Versace
d80fea1af6
vk/0.132: Add vkDestroyDynamicViewportState()
2015-07-14 10:42:45 -07:00
Chad Versace
9250e1e9e5
vk/0.132: Add vkDestroyDescriptorPool()
2015-07-14 10:38:22 -07:00
Chad Versace
f925ea31e7
vk/0.132: Add vkDestroyDescriptorSetLayout()
2015-07-14 10:36:49 -07:00
Chad Versace
ec5e2f4992
vk/0.132: Add vkDestroySampler()
2015-07-14 10:34:00 -07:00
Chad Versace
a684198935
vk/0.132: Add vkDestroyPipelineLayout()
2015-07-14 10:29:47 -07:00
Chad Versace
6e5ab5cf1b
vk/0.132: Add vkDestroyPipeline()
2015-07-14 10:26:17 -07:00
Chad Versace
114015321e
vk/0.132: Add vkDestroyPipelineCache()
2015-07-14 10:19:27 -07:00
Chad Versace
cb57bff36c
vk/0.132: Add vkDestroyShader()
2015-07-14 10:16:22 -07:00
Chad Versace
8ae8e14ba7
vk/0.132: Add vkDestroyShaderModule()
2015-07-14 10:13:09 -07:00
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
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
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
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