Commit graph

9 commits

Author SHA1 Message Date
spencer-lunarg
42b34ac73e scripts: Use new VulkanObject from headers 2025-02-21 15:01:59 -05:00
spencer-lunarg
f07e27717a formats: Add vkuFormatTexelsPerBlock 2025-01-21 13:24:57 -05:00
spencer-lunarg
9cf0d32399 formats: Add vkuFormatTexelBlockSize 2025-01-21 12:56:19 -05:00
spencer-lunarg
4923254936 formats: Add vkuFormatIsDepthStencilWithColorSizeCompatible 2025-01-21 12:52:31 -05:00
spencer-lunarg
249718532d formats: Remove vkuFormatElementIsTexel 2025-01-20 15:00:04 -05:00
spencer-lunarg
2fe3a7791d format: Add note for Multi-planar 2025-01-15 12:29:45 -05:00
Juan Ramos
678ce607a0 ci: Add clang-format to CI
This also removes the extra .clang-format in the include directory

closes #78
2023-11-10 14:36:43 -07:00
Juan Ramos
2169a0849e Fix doc for vkuFormatIsXChromaSubsampled
Now the documentation matches the implementation.
2023-10-01 14:49:40 -06:00
unknown
c903525915 src: Add vk_format_utils.h to UtilityHeaders
The library originates from Vulkan-ValidationLayers, but is being moved
into this repo to make it easier for others to use it.

The library has also been modified to be header only and C compatible,
which allows more developers to be able to use it. This does require some
changes, but only affects the vkuFormatElementSize and vkuFormatTexelSize
functions which used default parameters. Two new functions,
vkuFormatElementSizeWithAspect and vkuFormatTexelSizeWithAspect have been
added to handle the non-default image aspect case (the default was COLOR_BIT).

Renaming was done using the following convention:
* public header files begin with `vk_`
* enums begin with VKU_FORMAT_
* functions begin with vku
2023-09-11 12:48:03 -06:00