summaryrefslogtreecommitdiff
path: root/src/compiler/nir/nir_gs_count_vertices.c
AgeCommit message (Collapse)AuthorFilesLines
2018-10-25util: use C99 declaration in the for-loop set_foreach() macroEric Engestrom1-1/+0
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2018-10-22nir: Use nir_src_is_const and nir_src_as_* in core codeJason Ekstrand1-4/+3
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
2016-04-28nir: Switch the arguments to nir_foreach_functionJason Ekstrand1-1/+1
This matches the "foreach x in container" pattern found in many other programming languages. Generated by the following regular expression: s/nir_foreach_function(\([^,]*\),\s*\([^,]*\))/nir_foreach_function(\2, \1)/ Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2016-04-28nir: Switch the arguments to nir_foreach_instrJason Ekstrand1-1/+1
This matches the "foreach x in container" pattern found in many other programming languages. Generated by the following regular expression: s/nir_foreach_instr(\([^,]*\),\s*\([^,]*\))/nir_foreach_instr(\2, \1)/ and similar expressions for nir_foreach_instr_safe etc. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2016-03-17nir: rename nir_const_value fields to include bitsize informationIago Toral Quiroga1-2/+2
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
2016-01-26nir: move to compiler/Emil Velikov1-0/+93
Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Acked-by: Matt Turner <mattst88@gmail.com> Acked-by: Jose Fonseca <jfonseca@vmware.com>