Skip to content

turnip: add a more complete format table

Chia-I Wu requested to merge olv/mesa:turnip-formats into turnip

@krh @chadversary

A format table is an array of tu_native_format. Table lookup is done through array indexing.

This commit defines a single format table for core VkFormat. It is derived from the table in the gallium driver. There might be errors introduced in the process of the conversion.

When an extension that defines new VkFormat is supported, we need to add a new table for the extension.

Merge request reports