aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/vk_format_info.h
Commit message (Collapse)AuthorAgeFilesLines
* anv: add new formats KHR_sampler_ycbcr_conversionLionel Landwerlin2017-10-061-0/+27
| | | | | | | Adding new downsampling factors for each planes. Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
* anv: Set up binding tables and surface states for input attachmentsJason Ekstrand2016-11-221-0/+7
| | | | | | | | | | | | | This commit adds the last remaining bits to support input attachments in the Intel Vulkan driver. For color and depth attachments, we allocate an input attachment surface state during vkCmdBeginRenderPass like we do for the render target surface states. This is so that we can incorporate the clear color and aux information as used in rendering. For stencil, we just treat it like a regular texture because we don't there is no aux. Also, only having to worry about at most one input attachment surface for each attachment makes some of the vkCmdBeginRenderPass code simpler. Reviewed-by: Jordan Justen <[email protected]>
* anv: use correct header guardsEmil Velikov2016-10-141-1/+4
| | | | | Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Chad Versace <[email protected]>
* anv: Add helpers to provide simple VkFormat introspectionJason Ekstrand2016-05-171-0/+65
As much as I hate adding yet more format introspection, there are times when the VkFormat is sufficient and we don't want to round-trip through isl_format. For these times, the new vk_format_info.c/h files provide some simple driver-agnostic VkFormat introspection. This intended to be specific to Vulkan but not to any driver whatsoever.