gallium: Add NV_fill_rectangle to pipe state
authorLyude <lyude@redhat.com>
Wed, 8 Mar 2017 01:06:39 +0000 (20:06 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 1 Apr 2017 01:41:29 +0000 (21:41 -0400)
Signed-off-by: Lyude <lyude@redhat.com>
Changes since v1:
- Fix accidental widening of bitfields

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/include/pipe/p_defines.h

index 6fadb448aa29b7e47f06e841dd0864e5e63fede6..39f66355c32756226e1001d7a997c92566821cf6 100644 (file)
@@ -133,6 +133,7 @@ enum {
    PIPE_POLYGON_MODE_FILL,
    PIPE_POLYGON_MODE_LINE,
    PIPE_POLYGON_MODE_POINT,
+   PIPE_POLYGON_MODE_FILL_RECTANGLE,
 };
 
 /** Polygon face specification, eg for culling */