diff options
author | Christoph Bumiller <[email protected]> | 2012-02-06 16:29:03 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2012-02-09 15:01:34 +0100 |
commit | 8b4f7b0672d663273310fffa9490ad996f5b914a (patch) | |
tree | f2ba67e7db09659b5a0062644cf46d297578a29a /src/gallium/drivers/r300/r300_screen.c | |
parent | 26de5273acf1ebe6730b5e72b55b3bcceba167c6 (diff) |
gallium: add PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION
Just let the hardware do it if it can and avoid drivers having to
check for the special case on each draw call.
v2: update the draw module
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index eb233a0b0be..6b3b6c1cccf 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -140,6 +140,7 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_MAX_STREAM_OUTPUT_INTERLEAVED_COMPONENTS: case PIPE_CAP_STREAM_OUTPUT_PAUSE_RESUME: case PIPE_CAP_FRAGMENT_COLOR_CLAMPED: + case PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION: return 0; /* SWTCL-only features. */ |