summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* vk/0.170.2: Update VkResultChad Versace2015-10-078-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 VkDescriptorInfoChad Versace2015-10-071-0/+10
| | | | Ignore the new bufferInfo field with a anv_finishme.
* vk/0.170.2: Update vkCreateDescriptorPoolChad Versace2015-10-071-2/+0
| | | | Nothing to do. In Mesa the pool is a stub.
* vk/0.170.2: Update VkPhysicalDevicePropertiesChad Versace2015-10-071-15/+8
|
* vk/0.170.2: Update VkImageFormatPropertiesChad Versace2015-10-071-2/+41
|
* vk/0.170.2: Update VkFormatPropertiesChad Versace2015-10-071-4/+14
|
* vk/0.170.2: Update VkPhysicalDeviceFeaturesChad Versace2015-10-071-5/+4
|
* vk/0.170.2: Update VkPhysicalDeviceLimitsChad Versace2015-10-071-1/+8
|
* anv/device: Remove some #ifdef'd out codeJason Ekstrand2015-10-071-177/+0
| | | | This was a left-over from the dynamic state update.
* vk/0.170.2: Make vkUpdateDescriptorSets return voidJason Ekstrand2015-10-071-3/+1
|
* anv/pipeline: Add support for dynamic state in pipelinesJason Ekstrand2015-10-073-0/+103
|
* vk/0.170.2: Switch to the new dynamic state modelJason Ekstrand2015-10-078-425/+443
|
* anv: Add a dynamic state data structure and basic helpersJason Ekstrand2015-10-072-3/+125
|
* anv/private: Add a typed_memcpy macroJason Ekstrand2015-10-071-0/+5
| | | | This is amazingly helpful when copying arrays of things around.
* vk/meta: Fix -Wstrict-prototypesChad Versace2015-10-071-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 VkImageViewChad Versace2015-10-073-51/+7
|
* vk/image: Fix retrieval of anv_surface for depthstencil aspectChad Versace2015-10-071-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 -WextraChad Versace2015-10-071-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_viewChad Versace2015-10-066-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 > 1Chad Versace2015-10-061-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 viewsChad Versace2015-10-062-3/+6
| | | | | They don't work completely. But they work well enough to satisfy Crucible.
* vk: Add anv_image::usageChad Versace2015-10-064-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-buffersChad Versace2015-10-061-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 attachmentsChad Versace2015-10-061-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 handlingJason Ekstrand2015-10-061-7/+10
|
* nir/spirv: Update to SPIR-V Rev. 32Jason Ekstrand2015-10-064-91/+129
|
* vk/0.170.2: Fairly trivial enum shufflingJason Ekstrand2015-10-062-3/+2
|
* vk/0.170.2: s/baseArraySlice/baseArrayLayer/Jason Ekstrand2015-10-064-11/+11
|
* vk: Merge anv_attachment_view into anv_image_viewChad Versace2015-10-069-95/+71
| | | | This prepares for merging VkAttachmentView into VkImageView.
* vk: Update comments for anv_image_viewChad Versace2015-10-061-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 ComputePipelineCreateInfoJason Ekstrand2015-10-061-1/+1
|
* vk/0.170.2: Rename fields in VkClearColorValueJason Ekstrand2015-10-061-6/+6
|
* vk/0.170.2: Rework blits to use ImageSubresourceCopyJason Ekstrand2015-10-061-5/+14
|
* vk/0.170.2: Rework parameters to CmdClearDepthStencil functionsJason Ekstrand2015-10-061-5/+3
|
* vk/0.170.2: Add the flags parameter to GetPhysicalDeviceImageFormatPropertiesJason Ekstrand2015-10-061-0/+1
|
* vk/0.170.2: Remove the pCount parameter from AllocDescriptorSetsJason Ekstrand2015-10-062-12/+10
|
* vk/0.170.2: Rename extension and layer query functionsJason Ekstrand2015-10-061-4/+4
|
* vk/0.170.2: Update to the new queue family properties queryJason Ekstrand2015-10-051-13/+8
|
* vk/0.170.2: Re-arrange parameters of vkCmdDraw[Indexed]Jason Ekstrand2015-10-053-14/+14
|
* vk/0.170.2: Make destructors return voidJason Ekstrand2015-10-055-84/+31
|
* vk/0.170.2: Rename VkClearValue.ds to depthStencilJason Ekstrand2015-10-051-1/+1
|
* vk/0.170.2: Add the subpass field to VkCmdBufferBeginInfoJason Ekstrand2015-10-051-3/+4
|
* vk/0.170.2: Rename pointer parameters of VkSubpassDescriptionJason Ekstrand2015-10-052-10/+10
|
* vk/0.170.2: Add unnormalizedCoordinates to VkSamplerCreateInfoJason Ekstrand2015-10-052-2/+2
|
* vk/0.170.2: Rename VkTexAddress to VkTexAddressModeJason Ekstrand2015-10-052-16/+16
|
* vk: Merge anv_*_attachment_view into anv_attachment_viewChad Versace2015-10-058-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::extentChad Versace2015-10-054-10/+9
| | | | It's duplicated by anv_attachment_view::image_view::extent.
* vk: Drop anv_surface_viewChad Versace2015-10-057-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 variablesChad Versace2015-10-059-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_desciptorChad Versace2015-10-053-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.