panfrost: Move midgard/nir* to nir folder
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 10 Jul 2019 16:51:32 +0000 (09:51 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 10 Jul 2019 17:43:23 +0000 (10:43 -0700)
commitc2c8983cf4029a3b427e67f7046efda50689df60
tree4614f00ed9f3a61c798447446018b3bfceac1f92
parentef2d5777693ac821a68b7ed10417204273a496d9
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>
src/gallium/drivers/panfrost/meson.build
src/gallium/drivers/panfrost/midgard/nir_lower_blend.c [deleted file]
src/gallium/drivers/panfrost/midgard/nir_lower_blend.h [deleted file]
src/gallium/drivers/panfrost/midgard/nir_lower_framebuffer.c [deleted file]
src/gallium/drivers/panfrost/midgard/nir_undef_to_zero.c [deleted file]
src/gallium/drivers/panfrost/nir/nir_lower_blend.c [new file with mode: 0644]
src/gallium/drivers/panfrost/nir/nir_lower_blend.h [new file with mode: 0644]
src/gallium/drivers/panfrost/nir/nir_lower_framebuffer.c [new file with mode: 0644]
src/gallium/drivers/panfrost/nir/nir_undef_to_zero.c [new file with mode: 0644]
src/gallium/drivers/panfrost/pan_blend_shaders.c