pan/decode: Identify layered MSAA flag
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5782>
This commit is contained in:
parent
eba9bcd3c9
commit
af8fcfe620
|
@ -1673,8 +1673,12 @@ struct mali_single_framebuffer {
|
|||
/* More below this, maybe */
|
||||
} __attribute__((packed));
|
||||
|
||||
/* Format bits for the render target flags */
|
||||
/* Format bits for the render target flags. Setting MSAA alone works for on
|
||||
* chip MSAA. Setting MSAA with the LAYERED flag works for MSAA where each
|
||||
* sample is its own image (implements the ES3 spec directly but inefficient on
|
||||
* mobile). */
|
||||
|
||||
#define MALI_MFBD_FORMAT_LAYERED (1 << 0)
|
||||
#define MALI_MFBD_FORMAT_MSAA (1 << 1)
|
||||
#define MALI_MFBD_FORMAT_SRGB (1 << 2)
|
||||
|
||||
|
|
|
@ -244,6 +244,7 @@ static const struct pandecode_flag_info u4_flag_info[] = {
|
|||
|
||||
#define FLAG_INFO(flag) { MALI_MFBD_FORMAT_##flag, "MALI_MFBD_FORMAT_" #flag }
|
||||
static const struct pandecode_flag_info mfbd_fmt_flag_info[] = {
|
||||
FLAG_INFO(LAYERED),
|
||||
FLAG_INFO(MSAA),
|
||||
FLAG_INFO(SRGB),
|
||||
{}
|
||||
|
|
Loading…
Reference in New Issue