lima: enable rg formats for fp16 render
These were noticed by trial and error after fixing the fp16 render setup. Signed-off-by: Erico Nunes <nunes.erico@gmail.com> Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9916>
This commit is contained in:
@@ -62,6 +62,8 @@
|
||||
#define LIMA_PIXEL_FORMAT_B8 0x04
|
||||
#define LIMA_PIXEL_FORMAT_G8B8 0x05
|
||||
#define LIMA_PIXEL_FORMAT_B16G16R16A16_FLOAT 0x06
|
||||
#define LIMA_PIXEL_FORMAT_B16_FLOAT 0x07
|
||||
#define LIMA_PIXEL_FORMAT_G16B16_FLOAT 0x08
|
||||
#define LIMA_PIXEL_FORMAT_Z16 0x0e
|
||||
#define LIMA_PIXEL_FORMAT_Z24S8 0x0f
|
||||
|
||||
@@ -139,6 +141,8 @@ static const struct lima_format lima_pixel_formats[] = {
|
||||
LIMA_PIXEL_FORMAT(Z24_UNORM_S8_UINT, Z24S8, false, 0x0000),
|
||||
LIMA_PIXEL_FORMAT(Z24X8_UNORM, Z24S8, false, 0x0000),
|
||||
LIMA_PIXEL_FORMAT(R16G16B16A16_FLOAT, B16G16R16A16_FLOAT, true, 0x0000),
|
||||
LIMA_PIXEL_FORMAT(R16_FLOAT, B16_FLOAT, true, 0x0000),
|
||||
LIMA_PIXEL_FORMAT(R16G16_FLOAT, G16B16_FLOAT, true, 0x0000),
|
||||
};
|
||||
|
||||
static const struct lima_format *
|
||||
|
||||
Reference in New Issue
Block a user