Matt Turner
ecc559218d
c99_math: Implement exp2f for MSVC.
...
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2015-07-29 09:34:51 -07:00
Chad Versace
56f1f47eda
i965: Support importing R8 and GR88 dma_bufs
...
EGL_EXT_image_dma_buf_import now supports those formats.
Tests:
- Tested by Piglit ext_image_dma_buf_import-transcode-nv12-as-r8-gr88.
- Tested by Peter in Kodi/XBMC to obtain 60fps NV12 transcode at 4K.
Tested-by: Peter Frühberger <peter.fruehberger@gmail.com>
Signed-off-by: Chad Versace <chad.versace@intel.com>
2015-07-28 11:45:46 -07:00
Jason Ekstrand
f884b500d0
vk/vulkan.h: Bump to the version 0.138.1 header
...
This doesn't actually require any implementation changes but it does change
an enum so it is ABI-incompatable with 0.138.0.
2015-07-23 10:38:22 -07:00
Jason Ekstrand
867f6cb90c
vk: Add a FreeDescriptorSets function
2015-07-22 17:33:09 -07:00
Marek Olšák
4f57ccd02d
egl,dri_interface: use DRI2rendererQueryExtension to enable 3D textures & sRGB
...
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2015-07-22 23:56:00 +02:00
Emil Velikov
0efd773f71
dri_interface: drop __NOT_HAVE_DRM_H magic
...
v2: use HAVE_LIBDRM macro.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2015-07-22 16:33:11 +01:00
Chad Versace
5520221118
vk: Remove unneeded vulkan-138.h
2015-07-15 17:16:07 -07:00
Chad Versace
73a8f9543a
vk: Bump vulkan.h version to 0.138
2015-07-15 17:16:07 -07:00
Chad Versace
55781f8d02
vk/0.138: Update VkResult values
2015-07-15 17:16:07 -07:00
Chad Versace
756d8064c1
vk/0.132: Do type-safety
2015-07-15 17:16:07 -07:00
Jason Ekstrand
2b5a4dc5f3
vk: Add vulkan-138 and remove vulkan-0.132
...
Now, 138 is the target and not 132. Once object destruction is finished,
we can delete 138 as it will be identical to vulkan.h
2015-07-14 17:54:13 -07:00
Jason Ekstrand
1f658bed70
vk/device: Add stub support for command pools
...
Real support isn't really that far away. We just need a data structure
with a linked list and a few tests.
2015-07-14 17:40:00 -07:00
Jason Ekstrand
ca7243b54e
vk/vulkan.h: Add the stuff for cross-queue resource sharing
...
We only have one queue, so this is currently a no-op on our implementation.
2015-07-14 17:20:50 -07:00
Jason Ekstrand
553b4434ca
vk/vulkan.h: Add a couple of size fields for specialization constants
2015-07-14 17:12:39 -07:00
Jason Ekstrand
e5db209d54
vk/vulkan.h: Move around buffer image granularities
2015-07-14 17:10:37 -07:00
Jason Ekstrand
c7fcfebd5b
vk: Add stubs for all the sparse resource stuff
2015-07-14 17:06:11 -07:00
Jason Ekstrand
2a9136feb4
vk/image: Add a stub for the new ImageFormatProperties function
...
This lets the client query about things like multisample. We don't do
multisample right now, so I'll let Chad deal with that when he gets to it.
2015-07-14 17:05:30 -07:00
Jason Ekstrand
2c4dc92f40
vk/vulkan.h: Rename FormatInfo to FormatProperties
2015-07-14 17:04:46 -07:00
Jason Ekstrand
d7f44852be
vk/vulkan.h: Re-order some #define's
2015-07-14 16:41:39 -07:00
Jason Ekstrand
1fd3bc818a
vk/vulkan.h: Rename a function parameter
2015-07-14 16:39:01 -07:00
Jason Ekstrand
2e2f48f840
vk: Remove abreviations
2015-07-14 16:34:31 -07:00
Jason Ekstrand
02db21ae11
vk: Add the new extension/layer enumeration entrypoints
2015-07-14 16:11:21 -07:00
Jason Ekstrand
a463eacb8f
vk/vulkan.h: Change maxAnisotropy to a float
2015-07-14 15:04:11 -07:00
Jason Ekstrand
98957b18d2
vk/vulkan.h: Add the VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT flag
2015-07-14 15:03:39 -07:00
Jason Ekstrand
a35811d086
vk/vulkan.h: Rename a couple of function parameters
...
No functional change.
2015-07-14 15:03:01 -07:00
Jason Ekstrand
55723e97f1
vk: Split the memory requirements/binding functions
2015-07-14 14:59:39 -07:00
Jason Ekstrand
ccb2e5cd62
vk: Make barriers more precise (rev. 133)
2015-07-14 14:50:35 -07:00
Jason Ekstrand
30445f8f7a
vk: Split the dynamic state binding function into one per state
2015-07-14 14:26:10 -07:00
Jason Ekstrand
d2c0870ff3
vk/vulkan.h: Rename a function parameter to match 132
2015-07-14 14:11:04 -07:00
Jason Ekstrand
8478350992
vk: Implement Multipass
2015-07-14 11:37:14 -07:00
Jason Ekstrand
68768c40be
vk/vulkan.h: Re-arrange some enums and definitions in preparation for 131
2015-07-14 11:32:15 -07:00
Chad Versace
66cbb7f76d
vk/0.132: Add vkDestroyRenderPass()
2015-07-14 11:21:31 -07:00
Chad Versace
6d0ed38db5
vk/0.132: Add vkDestroy*View()
...
vkDestroyColorAttachmentView
vkDestroyDepthStencilView
These functions are not in the 0.132 header, but adding them will help
us attain the type-safety API updates more quickly.
2015-07-14 11:19:22 -07:00
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