Files
third_party_mesa3d/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
..
2020-10-28 10:27:51 +00:00
2020-10-28 10:27:51 +00:00
2020-07-07 10:22:08 +00:00
2020-07-07 10:22:08 +00:00
2020-07-07 10:22:08 +00:00
2020-07-07 10:22:08 +00:00
2020-07-07 10:22:08 +00:00
2020-07-07 10:22:08 +00:00
2020-07-07 10:22:08 +00:00