mesa/docs/gallium
James Jones 68d70fb969 gallium: Add format modifier plane count query
Rather than hard-code a list of all the format
modifiers supported by any gallium driver and the
number of aux planes they require in the dri state
tracker, add a screen proc that queries the number
of planes required for a given modifier+format
pair.

Since the only format modifiers that require
auxiliary planes currently are the iris driver's
I915_FORMAT_MOD_Y_TILED_CCS,
I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS, and
I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS, the absence
of the screen proc implies zero aux planes for all
of the screen's supported modifiers.  Hence, when
a driver does not expose the proc, derive the
number of planes directly from the format.

Signed-off-by: James Jones <jajones@nvidia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3723>
2020-11-11 10:51:37 +00:00
..
cso docs: anistropy -> anisotropy 2020-10-28 10:27:51 +00:00
context.rst docs: ie. -> i.e. 2020-10-28 10:27:51 +00:00
cso.rst
debugging.rst
distro.rst
format.rst
glossary.rst
index.rst docs: Move the gallium driver documentation to the top level. 2020-10-21 18:11:39 +00:00
intro.rst
pipeline.txt
postprocess.rst docs: move gallium specific docs into gallium folder 2020-07-07 10:22:08 +00:00
resources.rst
screen.rst gallium: Add format modifier plane count query 2020-11-11 10:51:37 +00:00
tgsi.rst