mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
zink: pass line width from rast_state to gfx_pipeline_state.
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
This commit is contained in:
parent
52aa7f3e05
commit
bb8e6994cc
1 changed files with 3 additions and 1 deletions
|
|
@ -422,8 +422,10 @@ zink_bind_rasterizer_state(struct pipe_context *pctx, void *cso)
|
|||
struct zink_context *ctx = zink_context(pctx);
|
||||
ctx->rast_state = cso;
|
||||
|
||||
if (ctx->rast_state)
|
||||
if (ctx->rast_state) {
|
||||
ctx->gfx_pipeline_state.rast_state = &ctx->rast_state->hw_state;
|
||||
ctx->gfx_pipeline_state.line_width = ctx->rast_state->line_width;
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue