mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-26 22:10:37 +01:00
panfrost: Stop including midgard_pack.h directly
Include gen_macros.h instead so we can smoothly transition to per-gen XMLs. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12551>
This commit is contained in:
parent
f96a30cea5
commit
908dde360a
12 changed files with 10 additions and 16 deletions
|
|
@ -47,8 +47,6 @@
|
|||
#include "pan_indirect_dispatch.h"
|
||||
#include "pan_blitter.h"
|
||||
|
||||
#include "midgard_pack.h"
|
||||
|
||||
/* Statically assert that PIPE_* enums match the hardware enums.
|
||||
* (As long as they match, we don't need to translate them.)
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <midgard_pack.h>
|
||||
#include <gen_macros.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <memory.h>
|
||||
|
|
|
|||
|
|
@ -32,10 +32,7 @@
|
|||
#include "compiler/nir/nir_conversion_builder.h"
|
||||
#include "compiler/nir/nir_lower_blend.h"
|
||||
|
||||
/* Blending is shared across all supported Malis with only minor differences,
|
||||
* so pin a particular version */
|
||||
#define ARCH 7
|
||||
#include <midgard_pack.h>
|
||||
#include <gen_macros.h>
|
||||
|
||||
/* Fixed function blending */
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
#include "pan_pool.h"
|
||||
#include "pan_util.h"
|
||||
|
||||
#include <midgard_pack.h>
|
||||
#include <gen_macros.h>
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
#include <stdbool.h>
|
||||
#include "util/format/u_format.h"
|
||||
#include "pan_bo.h"
|
||||
#include "midgard_pack.h"
|
||||
#include "gen_macros.h"
|
||||
|
||||
/* Indices for named (non-XFB) varyings that are present. These are packed
|
||||
* tightly so they correspond to a bitfield present (P) indexed by (1 <<
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
*/
|
||||
|
||||
#include "gen_macros.h"
|
||||
#include "midgard_pack.h"
|
||||
#include "pan_format.h"
|
||||
#include "util/format/u_format.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
#define __PAN_POOL_H__
|
||||
|
||||
#include <stddef.h>
|
||||
#include <midgard_pack.h>
|
||||
#include <gen_macros.h>
|
||||
#include "pan_bo.h"
|
||||
|
||||
#include "util/u_dynarray.h"
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
#ifndef __PAN_SCOREBOARD_H__
|
||||
#define __PAN_SCOREBOARD_H__
|
||||
|
||||
#include "midgard_pack.h"
|
||||
#include "gen_macros.h"
|
||||
#include "pan_pool.h"
|
||||
|
||||
struct pan_scoreboard {
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
#include "panfrost/util/pan_ir.h"
|
||||
|
||||
#include "pan_device.h"
|
||||
#include "midgard_pack.h"
|
||||
#include "gen_macros.h"
|
||||
|
||||
struct panfrost_device;
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
#include "drm-uapi/drm_fourcc.h"
|
||||
#include "util/format/u_format.h"
|
||||
#include "compiler/shader_enums.h"
|
||||
#include "midgard_pack.h"
|
||||
#include "gen_macros.h"
|
||||
#include "pan_bo.h"
|
||||
#include "pan_device.h"
|
||||
#include "pan_util.h"
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
#include "vk_util.h"
|
||||
|
||||
#include "pan_bo.h"
|
||||
#include "midgard_pack.h"
|
||||
#include "gen_macros.h"
|
||||
|
||||
VkResult
|
||||
panvk_CreateDescriptorSetLayout(VkDevice _device,
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
#include "util/format/u_format.h"
|
||||
|
||||
#include "compiler/shader_enums.h"
|
||||
#include "midgard_pack.h"
|
||||
#include "gen_macros.h"
|
||||
#include "panfrost-job.h"
|
||||
|
||||
struct pan_pool;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue