st/mesa: fix pipe_rasterizer_state::scissor with multiple viewports
Cc: 17.1 <mesa-stable@lists.freedesktop.org> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
@@ -262,7 +262,7 @@ void st_update_rasterizer( struct st_context *st )
|
||||
_mesa_geometric_samples(ctx->DrawBuffer) > 1;
|
||||
|
||||
/* _NEW_SCISSOR */
|
||||
raster->scissor = ctx->Scissor.EnableFlags;
|
||||
raster->scissor = !!ctx->Scissor.EnableFlags;
|
||||
|
||||
/* _NEW_FRAG_CLAMP */
|
||||
raster->clamp_fragment_color = !st->clamp_frag_color_in_shader &&
|
||||
|
||||
Reference in New Issue
Block a user