mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 22:10:11 +01:00
nir: Constify nir_gs_count_vertices
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
4eb84a03be
commit
2686477d37
2 changed files with 2 additions and 2 deletions
|
|
@ -1899,7 +1899,7 @@ void nir_dump_dom_frontier(nir_shader *shader, FILE *fp);
|
|||
void nir_dump_cfg_impl(nir_function_impl *impl, FILE *fp);
|
||||
void nir_dump_cfg(nir_shader *shader, FILE *fp);
|
||||
|
||||
int nir_gs_count_vertices(nir_shader *shader);
|
||||
int nir_gs_count_vertices(const nir_shader *shader);
|
||||
|
||||
bool nir_split_var_copies(nir_shader *shader);
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ as_set_vertex_count(nir_instr *instr)
|
|||
* counting at the NIR level.
|
||||
*/
|
||||
int
|
||||
nir_gs_count_vertices(nir_shader *shader)
|
||||
nir_gs_count_vertices(const nir_shader *shader)
|
||||
{
|
||||
int count = -1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue