etnaviv: blt: Add r8g8_unorm format support
Fixes the following CTS tests: - dEQP-GLES3.functional.fbo.msaa.2_samples.rg8 - dEQP-GLES3.functional.fbo.msaa.4_samples.rg8 Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Reviewed-by: Lucas Stach <l.stach@pengutronix.de> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36494>
This commit is contained in:
committed by
Marge Bot
parent
ff88429c35
commit
e35f8049b7
@@ -331,6 +331,8 @@ translate_blt_format(enum pipe_format fmt)
|
||||
return BLT_FORMAT_A2R10G10B10;
|
||||
case PIPE_FORMAT_R8_UNORM:
|
||||
return BLT_FORMAT_R8;
|
||||
case PIPE_FORMAT_R8G8_UNORM:
|
||||
return BLT_FORMAT_R8G8;
|
||||
default:
|
||||
return ETNA_NO_MATCH;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user