mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 23:09:05 +02:00
panfrost: Add sRGB render target flag
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
01e1eecb95
commit
31a4ef847c
2 changed files with 2 additions and 0 deletions
|
|
@ -1409,6 +1409,7 @@ struct mali_single_framebuffer {
|
|||
/* Format bits for the render target flags */
|
||||
|
||||
#define MALI_MFBD_FORMAT_MSAA (1 << 1)
|
||||
#define MALI_MFBD_FORMAT_SRGB (1 << 2)
|
||||
|
||||
enum mali_mfbd_block_format {
|
||||
MALI_MFBD_BLOCK_TILED = 0x0,
|
||||
|
|
|
|||
|
|
@ -208,6 +208,7 @@ static const struct pandecode_flag_info fb_fmt_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(MSAA),
|
||||
FLAG_INFO(SRGB),
|
||||
{}
|
||||
};
|
||||
#undef FLAG_INFO
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue