mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
asahi: Enable 2xMSAA (for deqp)
This also just works, let's enable it (still gated on deqp). Signed-off-by: Asahi Lina <lina@asahilina.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22891>
This commit is contained in:
parent
da60a34fa9
commit
fba5a6b7e2
1 changed files with 2 additions and 1 deletions
|
|
@ -1817,7 +1817,8 @@ agx_is_format_supported(struct pipe_screen *pscreen, enum pipe_format format,
|
|||
|
||||
bool is_deqp = agx_device(pscreen)->debug & AGX_DBG_DEQP;
|
||||
|
||||
if (sample_count > 1 && !(sample_count == 4 && is_deqp))
|
||||
if (sample_count > 1 &&
|
||||
(!is_deqp || (sample_count != 4 && sample_count != 2)))
|
||||
return false;
|
||||
|
||||
if (MAX2(sample_count, 1) != MAX2(storage_sample_count, 1))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue