mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-18 18:08:15 +02:00
This is to stop including nir related stuff in places that actually don't need that. Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33439>
45 lines
1.7 KiB
C
45 lines
1.7 KiB
C
/*
|
|
* Copyright © 2017 Advanced Micro Devices, Inc.
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#ifndef AC_NIR__SURFACE_H
|
|
#define AC_NIR__SURFACE_H
|
|
|
|
#include "ac_surface.h"
|
|
#include "amd_family.h"
|
|
#include "nir_defines.h"
|
|
#include "util/format/u_format.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
nir_def *ac_nir_dcc_addr_from_coord(nir_builder *b, const struct radeon_info *info,
|
|
unsigned bpe, const struct gfx9_meta_equation *equation,
|
|
nir_def *dcc_pitch, nir_def *dcc_height,
|
|
nir_def *dcc_slice_size,
|
|
nir_def *x, nir_def *y, nir_def *z,
|
|
nir_def *sample, nir_def *pipe_xor);
|
|
|
|
nir_def *ac_nir_cmask_addr_from_coord(nir_builder *b, const struct radeon_info *info,
|
|
const struct gfx9_meta_equation *equation,
|
|
nir_def *cmask_pitch, nir_def *cmask_height,
|
|
nir_def *cmask_slice_size,
|
|
nir_def *x, nir_def *y, nir_def *z,
|
|
nir_def *pipe_xor,
|
|
nir_def **bit_position);
|
|
|
|
nir_def *ac_nir_htile_addr_from_coord(nir_builder *b, const struct radeon_info *info,
|
|
const struct gfx9_meta_equation *equation,
|
|
nir_def *htile_pitch,
|
|
nir_def *htile_slice_size,
|
|
nir_def *x, nir_def *y, nir_def *z,
|
|
nir_def *pipe_xor);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* AC_NIR__SURFACE_H */
|