mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
python: Don't bypass vs/clip/viewport by default.
This commit is contained in:
parent
7138cd7009
commit
a2f52f500c
1 changed files with 7 additions and 1 deletions
|
|
@ -192,10 +192,16 @@ st_context_create(struct st_device *st_dev)
|
|||
memset(&rasterizer, 0, sizeof(rasterizer));
|
||||
rasterizer.front_winding = PIPE_WINDING_CW;
|
||||
rasterizer.cull_mode = PIPE_WINDING_NONE;
|
||||
rasterizer.bypass_vs_clip_and_viewport = 1;
|
||||
cso_set_rasterizer(st_ctx->cso, &rasterizer);
|
||||
}
|
||||
|
||||
/* clip */
|
||||
{
|
||||
struct pipe_clip_state clip;
|
||||
memset(&clip, 0, sizeof(clip));
|
||||
st_ctx->pipe->set_clip_state(st_ctx->pipe, &clip);
|
||||
}
|
||||
|
||||
/* identity viewport */
|
||||
{
|
||||
struct pipe_viewport_state viewport;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue