diff options
author | Eric Anholt <[email protected]> | 2019-06-27 15:05:31 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2019-11-14 10:47:20 -0800 |
commit | 882ca6dfb0f3d17e0f8bc917307d915ab1718069 (patch) | |
tree | 652b9932fc1182d4d191d7970fcd10c3687fbd3b /src/broadcom | |
parent | ac78ca4b39ce6e927f824b928d17f30c1d9273ce (diff) |
util: Move gallium's PIPE_FORMAT utils to /util/format/
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 <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/broadcom')
-rw-r--r-- | src/broadcom/compiler/nir_to_vir.c | 2 | ||||
-rw-r--r-- | src/broadcom/compiler/v3d_nir_lower_logic_ops.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/broadcom/compiler/nir_to_vir.c b/src/broadcom/compiler/nir_to_vir.c index 86b87837f8e..7af5fdebd8f 100644 --- a/src/broadcom/compiler/nir_to_vir.c +++ b/src/broadcom/compiler/nir_to_vir.c @@ -22,7 +22,7 @@ */ #include <inttypes.h> -#include "util/u_format.h" +#include "util/format/u_format.h" #include "util/u_math.h" #include "util/u_memory.h" #include "util/ralloc.h" diff --git a/src/broadcom/compiler/v3d_nir_lower_logic_ops.c b/src/broadcom/compiler/v3d_nir_lower_logic_ops.c index 5c3a7c58ac8..832f6bb6a9d 100644 --- a/src/broadcom/compiler/v3d_nir_lower_logic_ops.c +++ b/src/broadcom/compiler/v3d_nir_lower_logic_ops.c @@ -30,7 +30,7 @@ * appropriately. */ -#include "util/u_format.h" +#include "util/format/u_format.h" #include "compiler/nir/nir_builder.h" #include "compiler/nir/nir_format_convert.h" #include "v3d_compiler.h" |