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
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
Jason Ekstrand
d5dccc1e7a
vk: Move CreateFramebuffer and CreateRenderPass higher in the header
...
This matches where they are in the 130 header.
2015-07-06 14:41:43 -07:00
Jason Ekstrand
4a42f45514
vk: Remove atomic counters stubs
2015-07-06 14:38:45 -07:00
Jason Ekstrand
630b19a1c8
vk: Make vulkan.h look more like vulkan-130.h
...
Most of these changes are insubstantial. The only potentially substantial
cyhange is that we added a few new #defines for API maximums.
2015-07-06 14:32:52 -07:00
Jason Ekstrand
beb0e25327
vk: Roll back to API v90
...
This is what version 0.1 of the Vulkan SDK is built against.
2015-07-01 16:44:12 -07:00
Kristian Høgsberg
333bcc2072
vk: Fix vulkan header inconsistency
...
The function pointer typedef and the function prototype for
vkCmdClearColorImage() didn't agree. Fix the typedef to match the
prototype.
2015-05-17 21:08:31 -07:00
Kristian Høgsberg
769785c497
Add vulkan driver for BDW
2015-05-09 11:38:32 -07:00