Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | vk/0.170.2: Update VkResult | Chad Versace | 2015-10-07 | 8 | -112/+98 |
| | | | | | | Version 0.170.2 removes most of the error enums. In many cases, I had to replace an error with a less accurate (or even incorrect) one. In other cases, the error path is replaced with an assertion. | ||||
* | vk/0.170: Update VkDescriptorInfo | Chad Versace | 2015-10-07 | 1 | -0/+10 |
| | | | | Ignore the new bufferInfo field with a anv_finishme. | ||||
* | vk/0.170.2: Update vkCreateDescriptorPool | Chad Versace | 2015-10-07 | 1 | -2/+0 |
| | | | | Nothing to do. In Mesa the pool is a stub. | ||||
* | vk/0.170.2: Update VkPhysicalDeviceProperties | Chad Versace | 2015-10-07 | 1 | -15/+8 |
| | |||||
* | vk/0.170.2: Update VkImageFormatProperties | Chad Versace | 2015-10-07 | 1 | -2/+41 |
| | |||||
* | vk/0.170.2: Update VkFormatProperties | Chad Versace | 2015-10-07 | 1 | -4/+14 |
| | |||||
* | vk/0.170.2: Update VkPhysicalDeviceFeatures | Chad Versace | 2015-10-07 | 1 | -5/+4 |
| | |||||
* | vk/0.170.2: Update VkPhysicalDeviceLimits | Chad Versace | 2015-10-07 | 1 | -1/+8 |
| | |||||
* | anv/device: Remove some #ifdef'd out code | Jason Ekstrand | 2015-10-07 | 1 | -177/+0 |
| | | | | This was a left-over from the dynamic state update. | ||||
* | vk/0.170.2: Make vkUpdateDescriptorSets return void | Jason Ekstrand | 2015-10-07 | 1 | -3/+1 |
| | |||||
* | anv/pipeline: Add support for dynamic state in pipelines | Jason Ekstrand | 2015-10-07 | 3 | -0/+103 |
| | |||||
* | vk/0.170.2: Switch to the new dynamic state model | Jason Ekstrand | 2015-10-07 | 8 | -425/+443 |
| | |||||
* | anv: Add a dynamic state data structure and basic helpers | Jason Ekstrand | 2015-10-07 | 2 | -3/+125 |
| | |||||
* | anv/private: Add a typed_memcpy macro | Jason Ekstrand | 2015-10-07 | 1 | -0/+5 |
| | | | | This is amazingly helpful when copying arrays of things around. | ||||
* | vk/meta: Fix -Wstrict-prototypes | Chad Versace | 2015-10-07 | 1 | -1/+1 |
| | | | | | | | | | In C, functions with no arguments require a void argument. build_nir_clear_fragment_shader() lacked that. Fixes: anv_meta.c:70:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] | ||||
* | vk/0.170.2: Merge VkAttachmentView into VkImageView | Chad Versace | 2015-10-07 | 3 | -51/+7 |
| | |||||
* | vk/image: Fix retrieval of anv_surface for depthstencil aspect | Chad Versace | 2015-10-07 | 1 | -9/+15 |
| | | | | | | | | If anv_image_get_surface_for_aspect_mask() is given a combined depthstencil aspect mask, and the image has a stencil surface but no depth surface, then return the stencil surface. Hacks on hacks. | ||||
* | vk: Drop -Wextra | Chad Versace | 2015-10-07 | 1 | -2/+2 |
| | | | | | | | | | | Eliminates lots of warnings due to anv_meta.c's inclusion of nir.h. I like the extra warnings, and they should probably get fixed. However, git-grep reveals that no other Mesa directory uses -Wextra. Building Vulkan produces a lot of compiler warnings from core Mesa headers that no other Mesa developer sees, and hence no other Mesa developer will fix. | ||||
* | vk: Embed two surface states in anv_image_view | Chad Versace | 2015-10-06 | 6 | -389/+306 |
| | | | | | | | | | | | | | This prepares for merging VkAttachmentView into VkImageView. The two surface states are: anv_image_view::color_rt_surface_state: RENDER_SURFACE_STATE when using image as a color render target. anv_image_view::nonrt_surface_state; RENDER_SURFACE_STATE when using image as a non render target. No Crucible regressions. | ||||
* | vk/pipeline: Emit MSAA finishme only if samples > 1 | Chad Versace | 2015-10-06 | 1 | -1/+2 |
| | | | | | If samples == 1, then there's nothing for Mesa to do, and the finishme message is only noise. | ||||
* | vk: Remove stale finishme for stencil image views | Chad Versace | 2015-10-06 | 2 | -3/+6 |
| | | | | | They don't work completely. But they work well enough to satisfy Crucible. | ||||
* | vk: Add anv_image::usage | Chad Versace | 2015-10-06 | 4 | -0/+27 |
| | | | | | It's a copy of VkImageCreateInfo::usage. Will be used for the VkAttachmentView/VkImageView merge. | ||||
* | vk/meta: Fix usage flags for image-wrapped-buffers | Chad Versace | 2015-10-06 | 1 | -5/+4 |
| | | | | | | In make_image_for_buffer(), use VK_IMAGE_USAGE_SAMPLED_BIT when transferring from the buffer and use VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT when transferring to the buffer. | ||||
* | vk/image: Remove stale anv_asserts for depthstencil attachments | Chad Versace | 2015-10-06 | 1 | -5/+0 |
| | | | | | We don't fully handle mipmapped, array depthstencil attachments. But we handle the well enough for Crucible's miptree tests. | ||||
* | nir/spirv: Better texture handling | Jason Ekstrand | 2015-10-06 | 1 | -7/+10 |
| | |||||
* | nir/spirv: Update to SPIR-V Rev. 32 | Jason Ekstrand | 2015-10-06 | 4 | -91/+129 |
| | |||||
* | vk/0.170.2: Fairly trivial enum shuffling | Jason Ekstrand | 2015-10-06 | 2 | -3/+2 |
| | |||||
* | vk/0.170.2: s/baseArraySlice/baseArrayLayer/ | Jason Ekstrand | 2015-10-06 | 4 | -11/+11 |
| | |||||
* | vk: Merge anv_attachment_view into anv_image_view | Chad Versace | 2015-10-06 | 9 | -95/+71 |
| | | | | This prepares for merging VkAttachmentView into VkImageView. | ||||
* | vk: Update comments for anv_image_view | Chad Versace | 2015-10-06 | 1 | -3/+3 |
| | | | | | - Document the extent member. It's the extent of the view's base level. - s/VkAttachmentView/VkImageView/ | ||||
* | vk/0.170.2: Rename cs to stage in ComputePipelineCreateInfo | Jason Ekstrand | 2015-10-06 | 1 | -1/+1 |
| | |||||
* | vk/0.170.2: Rename fields in VkClearColorValue | Jason Ekstrand | 2015-10-06 | 1 | -6/+6 |
| | |||||
* | vk/0.170.2: Rework blits to use ImageSubresourceCopy | Jason Ekstrand | 2015-10-06 | 1 | -5/+14 |
| | |||||
* | vk/0.170.2: Rework parameters to CmdClearDepthStencil functions | Jason Ekstrand | 2015-10-06 | 1 | -5/+3 |
| | |||||
* | vk/0.170.2: Add the flags parameter to GetPhysicalDeviceImageFormatProperties | Jason Ekstrand | 2015-10-06 | 1 | -0/+1 |
| | |||||
* | vk/0.170.2: Remove the pCount parameter from AllocDescriptorSets | Jason Ekstrand | 2015-10-06 | 2 | -12/+10 |
| | |||||
* | vk/0.170.2: Rename extension and layer query functions | Jason Ekstrand | 2015-10-06 | 1 | -4/+4 |
| | |||||
* | vk/0.170.2: Update to the new queue family properties query | Jason Ekstrand | 2015-10-05 | 1 | -13/+8 |
| | |||||
* | vk/0.170.2: Re-arrange parameters of vkCmdDraw[Indexed] | Jason Ekstrand | 2015-10-05 | 3 | -14/+14 |
| | |||||
* | vk/0.170.2: Make destructors return void | Jason Ekstrand | 2015-10-05 | 5 | -84/+31 |
| | |||||
* | vk/0.170.2: Rename VkClearValue.ds to depthStencil | Jason Ekstrand | 2015-10-05 | 1 | -1/+1 |
| | |||||
* | vk/0.170.2: Add the subpass field to VkCmdBufferBeginInfo | Jason Ekstrand | 2015-10-05 | 1 | -3/+4 |
| | |||||
* | vk/0.170.2: Rename pointer parameters of VkSubpassDescription | Jason Ekstrand | 2015-10-05 | 2 | -10/+10 |
| | |||||
* | vk/0.170.2: Add unnormalizedCoordinates to VkSamplerCreateInfo | Jason Ekstrand | 2015-10-05 | 2 | -2/+2 |
| | |||||
* | vk/0.170.2: Rename VkTexAddress to VkTexAddressMode | Jason Ekstrand | 2015-10-05 | 2 | -16/+16 |
| | |||||
* | vk: Merge anv_*_attachment_view into anv_attachment_view | Chad Versace | 2015-10-05 | 8 | -94/+67 |
| | | | | | | Remove anv_color_attachment_view and anv_depth_stencil_view, merging them into anv_attachment_view. This prepares for merging VkAttachmentView into VkImageView. | ||||
* | vk: Drop anv_attachment_view::extent | Chad Versace | 2015-10-05 | 4 | -10/+9 |
| | | | | It's duplicated by anv_attachment_view::image_view::extent. | ||||
* | vk: Drop anv_surface_view | Chad Versace | 2015-10-05 | 7 | -83/+91 |
| | | | | | | | | | | | Push the members of struct anv_surface_view into anv_image_view and anv_buffer_view, then remove struct anv_surface_view. Observe that anv_surface_view::range is not needed for anv_image_view, and so was dropped there. This prepares for the merge of VkAttachmentView into VkImageView. Remove the common parent of anv_buffer_view and anv_image_view (that is, anv_surface_view) will make the merge easier. | ||||
* | vk: Use consistent names for anv_*_view variables | Chad Versace | 2015-10-05 | 9 | -183/+200 |
| | | | | | | | | | | | | | Rename all anv_*_view variables to follow this convention: - sview -> anv_surface_view - bview -> anv_buffer_view - iview -> anv_image_view - aview -> anv_attachment_view - cview -> anv_color_attachment_view - ds_view -> anv_depth_stencil_attachment_view This clarifies existing code. And it will reduce noise in the upcoming commits that merge VkAttachmentView into VkImageView. | ||||
* | vk: Unionize anv_desciptor | Chad Versace | 2015-10-05 | 3 | -12/+39 |
| | | | | | | | For a given struct anv_descriptor, all members are NULL (in which case the descriptor is empty) or exactly one member is non-NULL. To make struct anv_descriptor better reflect its set of valid states, convert the struct into a tagged union. |