mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
i965/gs: Set static_vertex_count unconditionally on GEN8+
We always have NIR, so there's no reason for the check. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
2686477d37
commit
8e8b527b27
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ brw_codegen_gs_prog(struct brw_context *brw,
|
|||
&c.prog_data.base.base, false);
|
||||
|
||||
if (brw->gen >= 8) {
|
||||
c.prog_data.static_vertex_count = !gp->program.Base.nir ? -1 :
|
||||
c.prog_data.static_vertex_count =
|
||||
nir_gs_count_vertices(gp->program.Base.nir);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue