mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-17 23:40:29 +01:00
st/xorg: bind rasterizer state
This commit is contained in:
parent
2048182e86
commit
c7e103d238
1 changed files with 6 additions and 2 deletions
|
|
@ -218,8 +218,12 @@ bind_blend_state(struct exa_context *exa, int op,
|
|||
}
|
||||
|
||||
static void
|
||||
bind_rasterizer_state()
|
||||
bind_rasterizer_state(struct exa_context *exa)
|
||||
{
|
||||
struct pipe_rasterizer_state raster;
|
||||
memset(&raster, 0, sizeof(struct pipe_rasterizer_state));
|
||||
raster.gl_rasterization_rules = 1;
|
||||
cso_set_rasterizer(exa->cso, &raster);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -240,7 +244,7 @@ boolean xorg_composite_bind_state(struct exa_context *exa,
|
|||
bind_framebuffer_state(exa, pDstPicture, pDst);
|
||||
bind_viewport_state(exa, pDstPicture);
|
||||
bind_blend_state(exa, op, pSrcPicture, pMaskPicture);
|
||||
bind_rasterizer_state();
|
||||
bind_rasterizer_state(exa);
|
||||
bind_shaders();
|
||||
|
||||
return FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue