From 82e0c5f484828565a566bd7fb5bcb67334bbee5e Mon Sep 17 00:00:00 2001 From: Lyude Date: Thu, 16 Mar 2017 18:15:21 -0400 Subject: st/mesa: Add support for NV_fill_rectangle Signed-off-by: Lyude Changes since v1: - Fix commit name Reviewed-by: Ilia Mirkin --- src/mesa/state_tracker/st_atom_rasterizer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/state_tracker/st_atom_rasterizer.c') diff --git a/src/mesa/state_tracker/st_atom_rasterizer.c b/src/mesa/state_tracker/st_atom_rasterizer.c index 50be7b6a8e8..0b0e0457dd3 100644 --- a/src/mesa/state_tracker/st_atom_rasterizer.c +++ b/src/mesa/state_tracker/st_atom_rasterizer.c @@ -50,6 +50,8 @@ static GLuint translate_fill( GLenum mode ) return PIPE_POLYGON_MODE_LINE; case GL_FILL: return PIPE_POLYGON_MODE_FILL; + case GL_FILL_RECTANGLE_NV: + return PIPE_POLYGON_MODE_FILL_RECTANGLE; default: assert(0); return 0; -- cgit v1.2.3