mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 03:10:09 +01:00
i965: Enable vertex streams up to MAX_VERTEX_STREAMS.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
0b84fa2c52
commit
5b3492fa3f
1 changed files with 4 additions and 0 deletions
|
|
@ -507,6 +507,10 @@ brw_initialize_context_constants(struct brw_context *brw)
|
|||
ctx->Const.ViewportBounds.Min = -(float)ctx->Const.MaxViewportWidth;
|
||||
ctx->Const.ViewportBounds.Max = ctx->Const.MaxViewportWidth;
|
||||
}
|
||||
|
||||
/* ARB_gpu_shader5 */
|
||||
if (brw->gen >= 7)
|
||||
ctx->Const.MaxVertexStreams = MIN2(4, MAX_VERTEX_STREAMS);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue