aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_atom_rasterizer.c
diff options
context:
space:
mode:
authorLyude <[email protected]>2017-03-16 18:15:21 -0400
committerIlia Mirkin <[email protected]>2017-03-31 21:41:32 -0400
commit82e0c5f484828565a566bd7fb5bcb67334bbee5e (patch)
treece97192d4e8dc9489bbf64e4709c68e727f956ed /src/mesa/state_tracker/st_atom_rasterizer.c
parent1cc7352c4cb30b1ff40ea51678a1406c10d9e854 (diff)
st/mesa: Add support for NV_fill_rectangle
Signed-off-by: Lyude <[email protected]> Changes since v1: - Fix commit name Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_atom_rasterizer.c')
-rw-r--r--src/mesa/state_tracker/st_atom_rasterizer.c2
1 files changed, 2 insertions, 0 deletions
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;