Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | vk: Remove unneeded vulkan-138.hvulkan-header-0.138.0 | Chad Versace | 2015-07-15 | 1 | -3047/+0 |
| | |||||
* | vk: Bump vulkan.h version to 0.138 | Chad Versace | 2015-07-15 | 1 | -1/+1 |
| | |||||
* | vk/0.138: Update VkResult values | Chad Versace | 2015-07-15 | 1 | -14/+13 |
| | |||||
* | vk/0.132: Do type-safety | Chad Versace | 2015-07-15 | 6 | -251/+121 |
| | |||||
* | vk/cmd_buffer: Move batch buffer padding to anv_batch_bo_finish() | Jason Ekstrand | 2015-07-15 | 1 | -10/+4 |
| | |||||
* | vk/cmd_buffer: Rename bo_count to exec2_bo_count | Jason Ekstrand | 2015-07-15 | 4 | -15/+15 |
| | |||||
* | vk/cmd_buffer: Add a helper for allocating dynamic state | Jason Ekstrand | 2015-07-15 | 3 | -5/+16 |
| | | | | | This matches what we do for surface state and makes the dynamic state pool more opaque to things that need to get dynamic state. | ||||
* | vk/private.h: Move cmd_buffer functions to near the cmd_buffer struct | Jason Ekstrand | 2015-07-15 | 1 | -15/+15 |
| | |||||
* | vk: Split command buffer state into its own structure | Jason Ekstrand | 2015-07-15 | 4 | -143/+172 |
| | | | | Everything else in anv_cmd_buffer is the actual guts of the datastructure. | ||||
* | vk: Move most of the anv_Cmd related stuff to its own file | Jason Ekstrand | 2015-07-15 | 4 | -1156/+1197 |
| | |||||
* | vk: Pull the guts of anv_cmd_buffer into its own file | Jason Ekstrand | 2015-07-15 | 4 | -677/+738 |
| | |||||
* | vk/glsl: Replace raw casts | Chad Versace | 2015-07-15 | 1 | -1/+1 |
| | | | | Needed for upcoming type-safety changes. | ||||
* | vk/meta: Remove raw casts | Chad Versace | 2015-07-15 | 1 | -21/+24 |
| | | | | Needed for upcoming type-safety changes. | ||||
* | vk/x11: Remove raw casts | Chad Versace | 2015-07-15 | 1 | -12/+18 |
| | | | | | The raw casts in the WSI functions will break the build when the type-safety changes arrive. | ||||
* | vk: Delete vkDbgSetObjectTag() | Chad Versace | 2015-07-15 | 1 | -17/+0 |
| | | | | Because VkObject is going away. | ||||
* | vk/device: Remove unneeded checks for NULL | Jason Ekstrand | 2015-07-15 | 1 | -6/+3 |
| | |||||
* | vk/device: Provide proper NULL handling in anv_device_free | Jason Ekstrand | 2015-07-15 | 1 | -0/+3 |
| | | | | | | The Vulkan spec does not specify that the free function provided to CreateInstance must handle NULL properly so we do it in the wrapper. If this ever changes in the spec, we can delete the extra 2 lines. | ||||
* | vk: Stop internally calling anv_DestroyObject() | Chad Versace | 2015-07-15 | 1 | -32/+24 |
| | | | | | | Replace each anv_DestroyObject() with anv_DestroyFoo(). Let vkDestroyObject() live for a while longer for Crucible's sake. | ||||
* | vk: Fix vkDestroyObject dispatch for VkRenderPass | Chad Versace | 2015-07-15 | 1 | -3/+1 |
| | | | | It called anv_device_free() instead of anv_DestroyRenderPass(). | ||||
* | vk: Fix vkCreate/DestroyRenderPass | Chad Versace | 2015-07-15 | 2 | -18/+48 |
| | | | | | | | | | | | | | | | | While updating vkDestroyObject, I discovered that vkDestroyPass reliably crashes. That hasn't been an issue yet, though, because it is never called. In vkCreateRenderPass: - Don't allocate empty attachment arrays. - Ensure that pointers to empty attachment arrays are NULL. - Store VkRenderPassCreateInfo::subpassCount as anv_render_pass::subpass_count. In vkDestroyRenderPass: - Fix loop bounds: s/attachment_count/subpass_count/ - Don't call anv_device_free on null pointers. | ||||
* | vk: Refactor create/destroy code for anv_descriptor_set | Chad Versace | 2015-07-15 | 2 | -11/+47 |
| | | | | | | Define two new functions: anv_descriptor_set_create anv_descriptor_set_destroy | ||||
* | vk: Replace some raw casts with safe casts | Chad Versace | 2015-07-15 | 1 | -2/+2 |
| | | | | | | | That is, replace some instances of (VkFoo) foo with anv_foo_to_handle(foo) | ||||
* | vk: Correct anv_CreateShaderModule's prototype | Chad Versace | 2015-07-15 | 1 | -1/+1 |
| | | | | | | s/VkShader/VkShaderModule/ :sigh: I look forward to type-safety. | ||||
* | vk: Define struct anv_image_view, anv_buffer_view | Chad Versace | 2015-07-15 | 4 | -30/+47 |
| | | | | | Follow the pattern of anv_attachment_view. We need these structs to implement the type-safety that arrived in the 0.132 header. | ||||
* | vk/meta: Fix declared type of a shader module | Chad Versace | 2015-07-15 | 1 | -1/+1 |
| | | | | | | s/VkShader/VkShaderModule/ I'm looking forward to a type-safe vulkan.h ;) | ||||
* | vk: Remove struct anv_object | Chad Versace | 2015-07-15 | 4 | -115/+2 |
| | | | | Trivial removal because vkDestroyObject() no longer uses it. | ||||
* | vk/device: More documentation on surface state flushing | Jason Ekstrand | 2015-07-15 | 1 | -8/+34 |
| | |||||
* | vk/device: explain why a flush is necessary | Connor Abbott | 2015-07-14 | 1 | -3/+10 |
| | | | | | Jason found this from experimenting, but the docs give a reasonable explanation of why it's necessary. | ||||
* | vk: Fix indentation of anv_dynamic_cb_state | Chad Versace | 2015-07-14 | 1 | -1/+1 |
| | |||||
* | vk: Add finishmes for VkDescriptorPool | Chad Versace | 2015-07-14 | 1 | -2/+3 |
| | | | | | VkDescriptorPool is a stub object. As a consequence, it's impossible to free descriptor set memory. | ||||
* | vk: Add vulkan-138 and remove vulkan-0.132 | Jason Ekstrand | 2015-07-14 | 1 | -148/+288 |
| | | | | | 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 | ||||
* | vk/device: Add stub support for command pools | Jason Ekstrand | 2015-07-14 | 2 | -5/+78 |
| | | | | | Real support isn't really that far away. We just need a data structure with a linked list and a few tests. | ||||
* | vk/vulkan.h: Add the stuff for cross-queue resource sharing | Jason Ekstrand | 2015-07-14 | 1 | -4/+23 |
| | | | | We only have one queue, so this is currently a no-op on our implementation. | ||||
* | vk/vulkan.h: Add a couple of size fields for specialization constants | Jason Ekstrand | 2015-07-14 | 1 | -0/+2 |
| | |||||
* | vk/vulkan.h: Move around buffer image granularities | Jason Ekstrand | 2015-07-14 | 2 | -1/+2 |
| | |||||
* | vk: Add stubs for all the sparse resource stuff | Jason Ekstrand | 2015-07-14 | 3 | -32/+168 |
| | |||||
* | vk/image: Add a stub for the new ImageFormatProperties function | Jason Ekstrand | 2015-07-14 | 1 | -0/+14 |
| | | | | | 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. | ||||
* | vk/vulkan.h: Rename FormatInfo to FormatProperties | Jason Ekstrand | 2015-07-14 | 2 | -13/+13 |
| | |||||
* | vk/vulkan.h: Re-order some #define's | Jason Ekstrand | 2015-07-14 | 1 | -6/+6 |
| | |||||
* | vk/vulkan.h: Rename a function parameter | Jason Ekstrand | 2015-07-14 | 1 | -1/+1 |
| | |||||
* | vk: Remove abreviations | Jason Ekstrand | 2015-07-14 | 4 | -66/+66 |
| | |||||
* | vk: Add the new extension/layer enumeration entrypoints | Jason Ekstrand | 2015-07-14 | 2 | -60/+72 |
| | |||||
* | vk/vulkan.h: Change maxAnisotropy to a float | Jason Ekstrand | 2015-07-14 | 1 | -2/+2 |
| | |||||
* | vk/vulkan.h: Add the VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT flag | Jason Ekstrand | 2015-07-14 | 1 | -0/+1 |
| | |||||
* | vk/vulkan.h: Rename a couple of function parameters | Jason Ekstrand | 2015-07-14 | 1 | -2/+2 |
| | | | | No functional change. | ||||
* | vk: Split the memory requirements/binding functions | Jason Ekstrand | 2015-07-14 | 3 | -51/+71 |
| | |||||
* | vk: Make barriers more precise (rev. 133) | Jason Ekstrand | 2015-07-14 | 2 | -66/+61 |
| | |||||
* | vk: Split the dynamic state binding function into one per state | Jason Ekstrand | 2015-07-14 | 3 | -63/+72 |
| | |||||
* | vk/vulkan.h: Rename a function parameter to match 132 | Jason Ekstrand | 2015-07-14 | 1 | -1/+1 |
| | |||||
* | vk: Implement Multipass | Jason Ekstrand | 2015-07-14 | 6 | -363/+602 |
| |