panfrost: Move midgard/nir* to nir folder

The reason for doing this is two-fold:

   1. These passes are likely to be shared with the Bifrost compiler
      Therefore, we don't want to restrict them to Midgard

   2. The coding style is different (NIR-style vs Panfrost-style)
      The NIR passes are candidates for moving upstream into
      compiler/nir, so don't block that off for stylistic reasons

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
Alyssa Rosenzweig 2019-07-10 09:51:32 -07:00
parent ef2d577769
commit c2c8983cf4
6 changed files with 5 additions and 5 deletions

View file

@ -35,13 +35,13 @@ files_panfrost = files(
'midgard/midgard_ra_pipeline.c',
'midgard/midgard_liveness.c',
'midgard/midgard_ops.c',
'midgard/nir_undef_to_zero.c',
'midgard/nir_lower_blend.c',
'midgard/nir_lower_framebuffer.c',
'midgard/cppwrap.cpp',
'midgard/disassemble.c',
'nir/nir_undef_to_zero.c',
'nir/nir_lower_blend.c',
'nir/nir_lower_framebuffer.c',
'bifrost/disassemble.c',
'pandecode/common.c',

View file

@ -27,7 +27,7 @@
#include "pan_util.h"
#include "midgard/midgard_compile.h"
#include "compiler/nir/nir_builder.h"
#include "midgard/nir_lower_blend.h"
#include "nir/nir_lower_blend.h"
#include "gallium/auxiliary/util/u_blend.h"
#include "util/u_memory.h"