tests/hlsl: Add SV_Coverage tests.

This commit is contained in:
Conor McCarthy
2024-04-04 15:00:26 +10:00
committed by Alexandre Julliard
parent 36c76e1557
commit c2a787181f
Notes: Alexandre Julliard 2024-04-30 23:14:55 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/814
8 changed files with 72 additions and 1 deletions

View File

@@ -1119,6 +1119,8 @@ static bool gl_runner_draw(struct shader_runner *r,
}
}
/* TODO: sample count and mask. */
glViewport(0, 0, RENDER_TARGET_WIDTH, RENDER_TARGET_HEIGHT);
glScissor(0, 0, RENDER_TARGET_WIDTH, RENDER_TARGET_HEIGHT);
glDrawBuffers(rt_count, draw_buffers);