mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 10:08:08 +02:00
added a clip-bypass flag to rasterizer state
This commit is contained in:
parent
90dd0cb822
commit
f361edae5d
2 changed files with 2 additions and 0 deletions
|
|
@ -85,6 +85,7 @@ static void validate_begin( struct draw_stage *stage )
|
|||
|
||||
/* Clip stage
|
||||
*/
|
||||
if (!draw->rasterizer->bypass_clipping)
|
||||
{
|
||||
draw->pipeline.clip->next = next;
|
||||
next = draw->pipeline.clip;
|
||||
|
|
|
|||
|
|
@ -92,6 +92,7 @@ struct pipe_rasterizer_state
|
|||
unsigned line_stipple_enable:1;
|
||||
unsigned line_stipple_factor:8; /**< [1..256] actually */
|
||||
unsigned line_stipple_pattern:16;
|
||||
unsigned bypass_clipping:1;
|
||||
|
||||
float line_width;
|
||||
float point_size; /**< used when no per-vertex size */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue