nir/scheduler: Move nir_scheduler to its own header
authorNeil Roberts <nroberts@igalia.com>
Fri, 17 Jul 2020 07:08:47 +0000 (09:08 +0200)
committerNeil Roberts <nroberts@igalia.com>
Fri, 24 Jul 2020 07:21:11 +0000 (09:21 +0200)
commit7665398e6c4fa903405d3daefcc93ddb0a37b488
treeb42be91e54c6aa98f4437ca6bd0f66b970b9ebe5
parent14a12b771d0a380defacafe5825362af77ff21bd
nir/scheduler: Move nir_scheduler to its own header

nir_schedule already has a struct for options which makes it more than
just a function declaration. Later patches intend to add more structs to
complement these options. In order to make the code easier to manage,
this moves the nir_scheduler-related parts out of nir.h to their own
header.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5953>
src/broadcom/compiler/vir.c
src/compiler/Makefile.sources
src/compiler/nir/meson.build
src/compiler/nir/nir.h
src/compiler/nir/nir_schedule.c
src/compiler/nir/nir_schedule.h [new file with mode: 0644]