From 882ca6dfb0f3d17e0f8bc917307d915ab1718069 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 27 Jun 2019 15:05:31 -0700 Subject: util: Move gallium's PIPE_FORMAT utils to /util/format/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To make PIPE_FORMATs usable from non-gallium parts of Mesa, I want to move their helpers out of gallium. Since u_format used util_copy_rect(), I moved that in there, too. I've put it in a separate directory in util/ because it's a big chunk of related code, and it's not clear to me whether we might want it as a separate library from libmesa_util at some point. Closes: #1905 Acked-by: Marek Olšák Reviewed-by: Kristian H. Kristensen Reviewed-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/nir/nir_lower_framebuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/panfrost/nir/nir_lower_framebuffer.c') diff --git a/src/gallium/drivers/panfrost/nir/nir_lower_framebuffer.c b/src/gallium/drivers/panfrost/nir/nir_lower_framebuffer.c index 60d02320fdf..6f0e7fe4b1e 100644 --- a/src/gallium/drivers/panfrost/nir/nir_lower_framebuffer.c +++ b/src/gallium/drivers/panfrost/nir/nir_lower_framebuffer.c @@ -41,7 +41,7 @@ #include "compiler/nir/nir_builder.h" #include "compiler/nir/nir_format_convert.h" #include "nir_lower_blend.h" -#include "util/u_format.h" +#include "util/format/u_format.h" /* Determines the best NIR intrinsic to load a tile buffer of a given type, * using native format conversion where possible. RGBA8 UNORM has a fast path -- cgit v1.2.3