mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
broadcom/(compiler,common): avoid include of gallium headers in header files
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26579>
This commit is contained in:
parent
a921a69010
commit
238a9ef5ff
3 changed files with 4 additions and 2 deletions
|
|
@ -28,6 +28,7 @@
|
|||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include "util/u_box.h" /* FIXME: avoid include this */
|
||||
#include "v3d_tiling.h"
|
||||
#include "broadcom/common/v3d_cpu_tiling.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
#ifndef V3D_TILING_H
|
||||
#define V3D_TILING_H
|
||||
|
||||
#include "util/u_box.h"
|
||||
#include "util/format/u_format.h"
|
||||
|
||||
/* A UIFblock is a 256-byte region of memory that's 256-byte aligned. These
|
||||
* will be grouped in 4x4 blocks (left-to-right, then top-to-bottom) in a 4KB
|
||||
|
|
@ -63,6 +63,8 @@ enum v3d_tiling_mode {
|
|||
V3D_TILING_UIF_XOR,
|
||||
};
|
||||
|
||||
struct pipe_box;
|
||||
|
||||
uint32_t v3d_utile_width(int cpp) ATTRIBUTE_CONST;
|
||||
uint32_t v3d_utile_height(int cpp) ATTRIBUTE_CONST;
|
||||
bool v3d_size_is_lt(uint32_t width, uint32_t height, int cpp) ATTRIBUTE_CONST;
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@
|
|||
#include "util/u_math.h"
|
||||
|
||||
#include "qpu/qpu_instr.h"
|
||||
#include "pipe/p_state.h"
|
||||
|
||||
/**
|
||||
* Maximum number of outstanding TMU operations we can queue for execution.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue