summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'vulkan-0.170.2' into vulkanChad Versace2015-10-0723-2153/+2155
|\ | | | | | | | | This updates the API from 0.138.2 to 0.170.2, and updates SPIR-V to v32.
| * vk: Remove temporary vulkan headersChad Versace2015-10-072-6088/+0
| | | | | | | | | | Remove vulkan-0.138.2.h and vulkan-0.170.2.h. Their purpose was to aid the header update to 0.170.2.
| * vk/0.170.2: Bump header versionChad Versace2015-10-071-1/+1
| | | | | | | | The header is now fully updated.
| * vk/0.170.2: Update C++ errata and typedefsChad Versace2015-10-071-2/+11
| |
| * vk/0.170.2: Update remaining enumsChad Versace2015-10-073-61/+67
| |
| * vk/0.170.2: Update VkResultChad Versace2015-10-079-145/+107
| | | | | | | | | | | | 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-072-0/+17
| | | | | | | | Ignore the new bufferInfo field with a anv_finishme.
| * vk/0.170.2: Update vkCreateDescriptorPoolChad Versace2015-10-073-5/+4
| | | | | | | | Nothing to do. In Mesa the pool is a stub.
| * vk/0.170.2: Update VkAttachmentDescriptionChad Versace2015-10-071-0/+6
| |
| * vk/0.170.2: Update VkImageViewCreateInfoChad Versace2015-10-071-0/+1
| |
| * vk/0.170.2: Update VkImageCreateInfoChad Versace2015-10-072-1/+1
| |
| * vk/0.170.2: Update VkPhysicalDevicePropertiesChad Versace2015-10-072-20/+19
| |
| * vk/0.170.2: Update VkImageFormatPropertiesChad Versace2015-10-072-4/+46
| |
| * vk/0.170.2: Update VkFormatPropertiesChad Versace2015-10-072-5/+17
| |
| * vk/0.170.2: Update VkPhysicalDeviceFeaturesChad Versace2015-10-072-17/+9
| |
| * vk/0.170.2: Update VkPhysicalDeviceLimitsChad Versace2015-10-072-2/+24
| |
| * 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-072-5/+3
| |
| * 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-079-519/+534
| |
| * 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-074-85/+12
| |
| * 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-063-14/+11
| |
| * vk/0.170.2: s/baseArraySlice/baseArrayLayer/Jason Ekstrand2015-10-065-13/+13
| |
| * 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: Add a stage field to ShaderCreateInfoJason Ekstrand2015-10-061-0/+1
| |
| * vk/0.170.2: Rename cs to stage in ComputePipelineCreateInfoJason Ekstrand2015-10-062-2/+2
| |
| * vk/0.170.2: Use ImageSubresourceCopy in ImageResolveJason Ekstrand2015-10-061-2/+2
| |
| * vk/0.170.2: Rename fields in VkClearColorValueJason Ekstrand2015-10-062-9/+9
| |
| * vk/0.170.2: Rework blits to use ImageSubresourceCopyJason Ekstrand2015-10-062-10/+26
| |
| * vulkan.h: Move stuff aroundJason Ekstrand2015-10-061-80/+81
| | | | | | | | | | This has no functional change but substantially decreases the diff with the 0.170.2 header.
| * vk/0.170.2: Rework parameters to CmdClearDepthStencil functionsJason Ekstrand2015-10-062-12/+8
| |
| * vk/0.170.2: Add the flags parameter to GetPhysicalDeviceImageFormatPropertiesJason Ekstrand2015-10-062-1/+3
| |
| * vk/0.170.2: Remove the pCount parameter from AllocDescriptorSetsJason Ekstrand2015-10-063-15/+12
| |
| * vk/0.170.2: Rename extension and layer query functionsJason Ekstrand2015-10-062-12/+12
| |
| * vk/0.170.2: Update to the new queue family properties queryJason Ekstrand2015-10-052-23/+13
| |
| * vk/0.170.2: Re-arrange parameters of vkCmdDraw[Indexed]Jason Ekstrand2015-10-054-22/+22
| |