nvk: Set POST_PS_INITIAL_COVERAGE

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29194>
This commit is contained in:
Faith Ekstrand 2024-08-05 11:52:13 -05:00 committed by Marge Bot
parent 1ba4bc2ada
commit 4090aa064f

View file

@ -412,6 +412,7 @@ nvk_push_draw_state_init(struct nvk_queue *queue, struct nv_push *p)
P_IMMD(p, NV9097, SET_ANTI_ALIAS_ENABLE, V_TRUE);
if (pdev->info.cls_eng3d >= MAXWELL_B) {
P_IMMD(p, NVB197, SET_POST_PS_INITIAL_COVERAGE, true);
P_IMMD(p, NVB197, SET_OFFSET_RENDER_TARGET_INDEX,
BY_VIEWPORT_INDEX_FALSE);
}