Chad Versace
f4295b3cca
vk/0.170.2: Update VkImageCreateInfo
2015-10-07 10:43:17 -07:00
Chad Versace
d48e71ce55
vk/0.170.2: Update VkPhysicalDeviceProperties
2015-10-07 10:36:46 -07:00
Chad Versace
81e1dcc42c
vk/0.170.2: Update VkImageFormatProperties
2015-10-07 10:28:30 -07:00
Chad Versace
98c2bb6917
vk/0.170.2: Update VkFormatProperties
2015-10-07 10:15:59 -07:00
Chad Versace
545f5cc6e1
vk/0.170.2: Update VkPhysicalDeviceFeatures
2015-10-07 10:09:39 -07:00
Chad Versace
033a37f591
vk/0.170.2: Update VkPhysicalDeviceLimits
2015-10-07 10:09:31 -07:00
Jason Ekstrand
010c6efd65
vk/0.170.2: Make vkUpdateDescriptorSets return void
2015-10-07 09:44:53 -07:00
Jason Ekstrand
daf68a9465
vk/0.170.2: Switch to the new dynamic state model
2015-10-07 09:40:49 -07:00
Chad Versace
6dea1a9ba1
vk/0.170.2: Merge VkAttachmentView into VkImageView
2015-10-07 09:10:25 -07:00
Jason Ekstrand
89eebd889c
vk/0.170.2: Fairly trivial enum shuffling
2015-10-06 14:08:08 -07:00
Jason Ekstrand
1e4263b7d2
vk/0.170.2: s/baseArraySlice/baseArrayLayer/
2015-10-06 14:08:08 -07:00
Jason Ekstrand
19018c9f13
vk/0.170.2: Add a stage field to ShaderCreateInfo
2015-10-06 10:20:10 -07:00
Jason Ekstrand
cc389b1482
vk/0.170.2: Rename cs to stage in ComputePipelineCreateInfo
2015-10-06 10:11:50 -07:00
Jason Ekstrand
588d40e97a
vk/0.170.2: Use ImageSubresourceCopy in ImageResolve
2015-10-06 10:09:47 -07:00
Jason Ekstrand
bd4cde708a
vk/0.170.2: Rename fields in VkClearColorValue
2015-10-06 10:07:47 -07:00
Jason Ekstrand
81c7fa8772
vk/0.170.2: Rework blits to use ImageSubresourceCopy
2015-10-06 10:04:04 -07:00
Jason Ekstrand
ba2254aa79
vulkan.h: Move stuff around
...
This has no functional change but substantially decreases the diff with the
0.170.2 header.
2015-10-06 09:50:04 -07:00
Jason Ekstrand
d1908d2c33
vk/0.170.2: Rework parameters to CmdClearDepthStencil functions
2015-10-06 09:40:39 -07:00
Jason Ekstrand
02a9be31d6
vk/0.170.2: Add the flags parameter to GetPhysicalDeviceImageFormatProperties
2015-10-06 09:37:21 -07:00
Jason Ekstrand
a145acd812
vk/0.170.2: Remove the pCount parameter from AllocDescriptorSets
2015-10-06 09:32:01 -07:00
Jason Ekstrand
8ba684cbad
vk/0.170.2: Rename extension and layer query functions
2015-10-06 09:25:03 -07:00
Jason Ekstrand
a6eba403e2
vk/0.170.2: Update to the new queue family properties query
2015-10-05 21:17:12 -07:00
Jason Ekstrand
65964cd49b
vk/0.170.2: Re-arrange parameters of vkCmdDraw[Indexed]
2015-10-05 21:10:20 -07:00
Jason Ekstrand
05a26a60c8
vk/0.170.2: Make destructors return void
2015-10-05 20:50:51 -07:00
Jason Ekstrand
460676122f
vk/0.170.2: Rename VkClearValue.ds to depthStencil
2015-10-05 20:35:08 -07:00
Jason Ekstrand
8e1ef639b6
vk/0.170.2: Add the subpass field to VkCmdBufferBeginInfo
2015-10-05 20:30:53 -07:00
Jason Ekstrand
757166592e
vk/0.170.2: Rename pointer parameters of VkSubpassDescription
2015-10-05 20:26:21 -07:00
Jason Ekstrand
57f500324b
vk/0.170.2: Add unnormalizedCoordinates to VkSamplerCreateInfo
2015-10-05 20:17:24 -07:00
Jason Ekstrand
f7c3519aaf
vk/0.170.2: Rename VkTexAddress to VkTexAddressMode
2015-10-05 20:15:06 -07:00
Jason Ekstrand
39a19e88a3
vulkan.h: Various cosmetic changes
...
These don't affect the driver in any way.
2015-10-05 20:06:30 -07:00
Chad Versace
6317c3144d
vk/0.170.2: Drop VK_BUFFER_USAGE_GENERAL
2015-10-05 08:12:59 -07:00
Chad Versace
4744f60e79
vk/0.170.2: Drop enum VkBufferViewType
2015-10-05 08:12:58 -07:00
Chad Versace
7a089bd1a6
vk/0.170.2: Update VkImageSubresourceRange
...
Replace 'aspect' with 'aspectMask'.
2015-10-05 08:10:57 -07:00
Chad Versace
568654d606
vk/0.170.2: Drop VK_IMAGE_USAGE_GENERAL
2015-10-05 08:09:33 -07:00
Chad Versace
6a40af1b08
vk/0.170.2: Update VkPipelineMultisampleStateCreateInfo
2015-10-04 10:00:25 -07:00
Chad Versace
dd04be491d
vk/0.170.2: Update Vk VkPipelineDepthStencilStateCreateInfo
...
Rename member depthBoundsEnable -> depthBoundsTestEnable.
2015-10-04 09:41:46 -07:00
Chad Versace
8cb2e27c62
vk/0.170.2: Update VkRenderPassBeginInfo
...
Rename members:
attachmentCount -> clearValueCount
pAttachmentClearValues -> pClearValues
2015-10-04 09:26:25 -07:00
Chad Versace
3694518be5
vk/0.170.2: Drop VkBufferViewCreateInfo::viewType
2015-10-04 09:14:57 -07:00
Chad Versace
216d9f248d
vk: Copy current header to vulkan-0.138.2.h
...
While upgrading Mesa to the new 0.170.2 API, it's convenient to have all
three headers available in the tree:
- vulkan-0.138.2.h, the old one
- vulkan-0.170.2.h, the new one
- vulkan.h, the one in transition
2015-10-04 09:09:35 -07:00
Chad Versace
7f18ed4b9f
vk: Import header 0.170.2 header LunarG SDK
...
From the LunarG SDK at tag sdk-0.9.1, import vulkan.h as
vulkan-0.170.2.h. This header is the first provisional header with the
addition of minor fixes.
2015-10-04 09:09:31 -07:00
Jason Ekstrand
1bee19e023
vk: Add the WSI header files
2015-09-08 10:33:46 -07:00
Jason Ekstrand
ca3cfbf6f1
vk: Add an initial implementation of the actual Khronos WSI extension
...
Unfortunately, this is a very large commit and removes the old LunarG WSI
extension. This is because there are a couple of entrypoints that have the
same name between the two extensions so implementing them both is
impractiacl.
Support is still incomplete, but this is enough to get vkcube up and going
again.
2015-09-04 17:55:42 -07:00
Jason Ekstrand
2a8d1ac958
vk: Update to API version 0.138.2
2015-08-27 11:41:04 -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
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
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
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
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
Jason Ekstrand
f6d51f3fd3
vk: Add GetPhysicalDeviceFeatures
2015-07-09 16:14:37 -07:00
Jason Ekstrand
8640dc12dc
vk/vulkan.h: Copy the VkStructureType enum from version 130
...
We now have the exact same structs which require pType.
2015-07-08 17:45:52 -07:00
Jason Ekstrand
5a4ebf6bc1
vk: Move to the new pipeline creation API's
2015-07-08 17:30:18 -07:00
Chad Versace
4fcb32a17d
vk/0.130: Remove VkImageViewCreateInfo::minLod
...
It's now set solely through VkSampler.
2015-07-08 14:48:22 -07:00
Jason Ekstrand
367b9ba78f
vk/vulkan.h: Move renderPassContinue from GraphicsBeginInfo to BeginInfo
2015-07-08 14:37:30 -07:00
Jason Ekstrand
d29ec8fa36
vk/vulkan.h: Update to the new UpdateDescriptorSets api
2015-07-08 14:24:56 -07:00
Chad Versace
ccb27a002c
vk/0.130 Update VkObjectType values
...
Don't import any new enum tokens from the 0.130 header. Just update the
values of existing enums. This reduces the diff by about 16 lines.
2015-07-08 12:53:49 -07:00
Chad Versace
8985dd15a1
vk/0.130: Remove VkDescriptorUpdateMode
...
Nowhere used.
2015-07-08 12:51:46 -07:00
Chad Versace
e02dfa309a
vk/0.130: Remove VK_DEVICE_CREATE_MULTI_DEVICE_IQ_MATCH_BIT
2015-07-08 12:49:48 -07:00
Chad Versace
e9034ed875
vk/0.130: Update vkCmdBlitImage signature
...
Add VkTexFilter param. Ignored for now.
2015-07-08 12:47:48 -07:00
Jason Ekstrand
aae45ab583
vk/vulkan.h: Add packing parameters to BufferImageCopy
2015-07-08 11:51:34 -07:00
Chad Versace
b4ef7f354b
vk/0.130: Remove msaa members of VkDepthStencilViewCreateInfo
2015-07-08 11:50:51 -07:00
Jason Ekstrand
522ab835d6
vk/vulkan.h: Move over to the new border color enums
2015-07-08 11:44:52 -07:00
Jason Ekstrand
7598329774
vk/vulkan.h: Move VkFormatProperties
2015-07-08 11:16:45 -07:00
Jason Ekstrand
52940e8fcf
vk/vulkan.h: Add RenderPassBeginContents
2015-07-08 10:57:13 -07:00
Jason Ekstrand
e19d6be2a9
vk/vulkan.h: Add command buffer levels
2015-07-08 10:53:32 -07:00
Jason Ekstrand
c84f2d3b8c
vk/vulkan.h: Import the VkPipeEvent enum from 130
...
Now, VkPipeEventFlags is back in sync with VkPipeEvent
2015-07-08 10:49:46 -07:00
Jason Ekstrand
b20cc72603
vk/vulkan.h: Remove VkFormatInfoType
2015-07-08 10:39:31 -07:00
Jason Ekstrand
8e05bbeee9
vk/vulkan.h: Update extension handling to rev 130
2015-07-08 10:38:07 -07:00
Jason Ekstrand
cc29a5f4be
vk/vulkan.h: Move format quering to the physical device
2015-07-08 09:34:47 -07:00
Jason Ekstrand
719fa8ac74
vk/vulkan.h: Remove some peer opening structs and STRUCTURE_TYPE enums
2015-07-08 09:25:13 -07:00
Jason Ekstrand
fc6dcc6227
vk: Add a copy of the v90 header.
2015-07-08 09:23:29 -07:00
Jason Ekstrand
12119282e6
vk/vulkan.h: Remove an unneeded comment
2015-07-08 09:18:09 -07:00
Jason Ekstrand
3c65a1ac14
vk/vulkan.h: Remove the MemoryRange stubs and add sparse stubs
2015-07-08 09:16:48 -07:00
Jason Ekstrand
bb6567f5d1
vk/vulkan.h: Switch BindObjectMemory to a device function and remove the index
2015-07-08 09:04:16 -07:00
Jason Ekstrand
e7acdda184
vk/vulkan.h: Switch to the split ProcAddr functions in 130
2015-07-07 18:51:53 -07:00
Jason Ekstrand
db24afee2f
vk/vulkan.h: Switch from GetImageSubresourceInfo to GetImageSubresourceLayout
2015-07-07 18:20:18 -07:00
Jason Ekstrand
ef8980e256
vk/vulkan.h: Switch from GetObjectInfo to GetMemoryRequirements
2015-07-07 18:16:42 -07:00
Jason Ekstrand
d9c2caea6a
vk: Update memory flushing functions to 130
...
This involves updating the prototype for FlushMappedMemory, adding
InvalidateMappedMemoryRanges, and removing PinSystemMemory.
2015-07-07 17:22:31 -07:00
Jason Ekstrand
d5349b1b18
vk/vulkan.h: Constify the pFences parameter to ResetFences
2015-07-07 17:18:00 -07:00
Jason Ekstrand
6aa1b89457
vk/vulkan.h: Move the definitions of Create(Framebuffer|RenderPass)
...
This better matches the 130 header.
2015-07-07 17:13:10 -07:00
Jason Ekstrand
0ff06540ae
vk: Implement the GetRenderAreaGranularity function
...
At the moment, we're just going to scissor clears so a granularity of 1x1
is all we need.
2015-07-07 17:11:37 -07:00
Jason Ekstrand
435b062b26
vk/vulkan.h: Add a PipelineLayout parameter to BindDescriptorSets
2015-07-07 17:06:10 -07:00
Jason Ekstrand
518ca9e254
vk/vulkan.h: Add a compareEnable parameter to SamplerCreateInfo
...
Our hardware doesn't actually need this, so adding it is a no-op.
2015-07-07 16:49:04 -07:00
Jason Ekstrand
672590710b
vk/vulkan.h: Remove initialCount from SemaphoreCreateInfo
2015-07-07 16:42:42 -07:00
Jason Ekstrand
80046a7d54
vk/vulkan.h: Update clear color handling to 130
2015-07-07 16:37:43 -07:00
Jason Ekstrand
a35fef1ab2
vk/vulkan.h: Remove the pass argument from EndRenderPass
2015-07-07 16:22:23 -07:00
Jason Ekstrand
d2ca7e24b4
vk/vulkan.h: Rename VertexInputStateInfo to VertexInputStateCreateInfo
2015-07-07 16:15:55 -07:00
Jason Ekstrand
abbb776bbe
vk/vulkan.h: Remove programPointSize
...
Instead, we auto-detect whether or not your shader writes gl_PointSize. If
it does, we use 1.0, otherwise we take it from the shader.
2015-07-07 16:00:46 -07:00
Chad Versace
e7ddfe03ab
vk/0.130: Stub vkCmdClear*Attachment() funcs
...
vkCmdClearColorAttachment
vkCmdClearDepthStencilAttachment
2015-07-07 15:57:37 -07:00
Chad Versace
f89e2e6304
vk/0.130: Define enum VkImageAspectFlagBits
2015-07-07 15:57:37 -07:00
Chad Versace
55ab1737d3
vk/0.130: Define VkRect3D
2015-07-07 15:55:53 -07:00
Chad Versace
11901a9100
vk/0.130: Update name of vkCmdClearDepthStencilImage()
2015-07-07 15:53:35 -07:00
Chad Versace
dff32238c7
vk/0.130: Stub vkCmdExecuteCommands()
2015-07-07 15:51:55 -07:00
Chad Versace
85c0d69be9
vk/0.130: Update vkCmdWaitEvents() signature
2015-07-07 15:49:57 -07:00
Chad Versace
f78d684772
vk: Stub vkCmdPushConstants() from 0.130 header
2015-07-07 15:46:19 -07:00
Chad Versace
18ee32ef9d
vk: Update vkCmdPipelineBarrier to 0.130 header
2015-07-07 15:43:41 -07:00
Jason Ekstrand
788a8352b9
vk/vulkan.h: Remove some unused fields.
...
In particular, the following are removed:
- disableVertexReuse
- clipOrigin
- depthMode
- pointOrigin
- provokingVertex
2015-07-07 15:33:00 -07:00
Jason Ekstrand
7fbed521bb
vk/vulkan.h: Remove the explicit primitive restart index
...
Unfortunately, this requires some non-trivial changes to the driver. Now
that the primitive restart index isn't given explicitly by the client, we
always use ~0 for everything like D3D does. Unfortunately, our hardware is
awesome and a 32-bit version of ~0 doesn't match any 16-bit values. This
means, we have to set it to either UINT16_MAX or UINT32_MAX depending on
the size of the index type. Since we get the index type from
CmdBindIndexBuffer and the rest of the VF packet from the pipeline, we need
to lazy-emit the VF packet.
2015-07-07 15:33:00 -07:00
Chad Versace
d6b840beff
vk: Delete some comments not present in 0.130 header
...
Deleting the comments reduces diff noise.
2015-07-07 15:16:13 -07:00
Chad Versace
84a5bc25e3
vk: Pull in remaining 0.130 handle types
...
This pulls in the definition of VkShaderModule and VkPipelineCache,
which nowhere used yet.
2015-07-07 15:13:01 -07:00
Chad Versace
f2899b1af2
vk: Pull in #defines from 0.130 header
...
Despite not being used yet, pulling in the macros does diminish the
header diff.
2015-07-07 15:11:30 -07:00
Jason Ekstrand
962d6932fa
vk/vulkan.h: Rename (min|max)Depth to (min|max)DepthBounds
2015-07-07 12:37:54 -07:00
Jason Ekstrand
1fb859e4b2
vk/vulkan.h: Remove client-settable pointSize from DynamicRsState
2015-07-07 12:35:32 -07:00
Jason Ekstrand
245583075c
vk/vulkan.h: Remove UINT8 index buffers
2015-07-07 11:26:49 -07:00
Jason Ekstrand
0a42332904
vk/vulkan.h: Re-order the object declarations
2015-07-07 11:26:49 -07:00
Chad Versace
b844f542e0
vk: Update VkImageViewType to 0.130.0
...
This splits 1D and 1D_ARRAY, 2D and 2D_ARRAY, CUBE and CUBE_ARRAY.
The new tokens are unused. This is just a header update.
2015-07-06 18:28:26 -07:00
Jason Ekstrand
1f1b26bceb
vk/vulkan.h: Rename VkRect to VkRect2D
2015-07-06 17:47:18 -07:00
Jason Ekstrand
63c1190e47
vk/vulkan.h: Rename count to arraySize in VkDescriptorSetLayoutBinding
2015-07-06 17:43:58 -07:00
Jason Ekstrand
d84f3155b1
vk/vulkan.h: Remove the Vk(Memory|Semaphor|Image)OpenInfo structs
...
We already deleted the functions that need them. The structs are just
dangling uselessly.
2015-07-06 17:37:13 -07:00
Jason Ekstrand
65f9ccb4e7
vk/vulkan.h: Remove VK_MEMORY_PROPERTY_PREFER_HOST_LOCAL_BIT
...
We weren't doing anything with it, so this is a no-op
2015-07-06 17:33:45 -07:00
Jason Ekstrand
68fa750f2e
vk/vulkan.h: Replace DEVICE_COHERENT_BIT with DEVICE_NON_COHERENT_BIT
2015-07-06 17:32:28 -07:00
Jason Ekstrand
d5b5bd67f6
vk/vulkan.h: Use the query result bits from revision 130
...
None of the important bits or names actually changed. It just
added/removed some no-op names.
No functional change.
2015-07-06 17:27:11 -07:00
Jason Ekstrand
d843418c2e
vk/vulkan.h: One more quick enum refactor clean-up
2015-07-06 17:26:29 -07:00
Jason Ekstrand
2b37fc28d1
vk/vulkan.h: Get rid of VERTEX_INPUT_STEP_RATE_DRAW
...
We never supported it, so no functional change.
2015-07-06 17:24:26 -07:00
Jason Ekstrand
a75967b1bb
vk/vulkan.h: Remove the CLEAR_OPTIMAL image layout
2015-07-06 17:21:19 -07:00
Jason Ekstrand
2b404e5d00
vk: Rename CPU_READ/WRITE_BIT to HOST_READ/WRITE_BIT
2015-07-06 17:18:25 -07:00
Jason Ekstrand
c57ca3f16f
vk/vulkan.h: Remove VK_IMAGE_CREATE_CLONEABLE_BIT
2015-07-06 17:14:30 -07:00
Jason Ekstrand
2de388c49c
vk: Remove SHAREABLE bits
...
They were removed from the Vulkan API and we don't really use them because
there are no multi-GPU i965 systems.
2015-07-06 17:12:51 -07:00
Jason Ekstrand
1b0c47bba6
vk/vulkan.h: Re-order the logic op enums
2015-07-06 17:08:11 -07:00
Jason Ekstrand
c7cef662d0
vk/vulkan.h: Reformat a bunch of enums to match revision 130
...
In theory, no functional change.
2015-07-06 17:06:02 -07:00
Jason Ekstrand
8c5e48f307
vk: Rename NUM_SHADER_STAGE to SHADER_STAGE_NUM
...
This is a refactor of more than just the header but it lets us finish
reformating the shader stage enum.
2015-07-06 16:43:28 -07:00
Jason Ekstrand
d9176f2ec7
vk: Reformat a bunch of enums
...
This accounts for a number differences between the generated headers and
the hand-written header. Not all reformatting is done in this commit but
it does make the headers much more diffable.
In theory, no functional change.
2015-07-06 16:41:31 -07:00
Jason Ekstrand
e95bf93e5a
vk: Pull the VkResult enum from revision 130
2015-07-06 16:15:12 -07:00
Jason Ekstrand
1b7b580756
vk: re-arrange enums to match the order in revision 130
2015-07-06 16:11:05 -07:00
Jason Ekstrand
2fb524b369
vk: Rename a parameter in CmdBindDynamicStateObject
2015-07-06 15:37:17 -07:00
Jason Ekstrand
c5ffcc9958
vk: Remove multi-device stuff
2015-07-06 15:34:55 -07:00
Jason Ekstrand
c5ab5925df
vk: Remove ClearDescriptorSets
2015-07-06 15:32:40 -07:00
Jason Ekstrand
ea5fbe1957
vk: Remove begin/end descriptor pool update
2015-07-06 15:32:27 -07:00
Jason Ekstrand
9a798fa946
vk: Remove stub for CloneImageData
2015-07-06 15:30:05 -07:00
Jason Ekstrand
78a0d23d4e
vk: Remove the stub support for memory priorities
2015-07-06 15:28:10 -07:00
Jason Ekstrand
11cf214578
vk: Remove the stub support for explicit memory references
2015-07-06 15:27:58 -07:00
Jason Ekstrand
0dc7d4ac8a
vk/vulkan.h: Reformat structs to match revision 130
...
Structs in the old version were specified as
typedef struct VkSomeThing_
{
type field; // comment
} VkSomeThing;
However, in the generated headers, you have
typedef struct {
type field;
} VkSomeThing;
This commit also removes some unneeded whitespaces.
2015-07-06 15:19:12 -07:00
Jason Ekstrand
19aabb5730
vk/vulkah.h: Re-arrange structures to match the order in 130
2015-07-06 15:09:30 -07:00