mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 09:50:08 +01:00
pvr: drop pvr_lower_nir
This pass can now remain in the compiler as Vulkan-specific data will be abstracted into the compiler-driver interface. Signed-off-by: Simon Perretta <simon.perretta@imgtec.com> Acked-by: Frank Binns <frank.binns@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33998>
This commit is contained in:
parent
08222dc461
commit
38d581d842
4 changed files with 0 additions and 45 deletions
|
|
@ -43,7 +43,6 @@ pvr_files = files(
|
|||
'pvr_job_context.c',
|
||||
'pvr_job_render.c',
|
||||
'pvr_job_transfer.c',
|
||||
'pvr_nir.c',
|
||||
'pvr_pass.c',
|
||||
'pvr_pipeline.c',
|
||||
'pvr_transfer_frag_store.c',
|
||||
|
|
|
|||
|
|
@ -1,24 +0,0 @@
|
|||
/*
|
||||
* Copyright © 2024 Imagination Technologies Ltd.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include "pvr_nir.h"
|
||||
#include "util/macros.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
/**
|
||||
* \brief Performs Vulkan-specific lowering on a NIR shader.
|
||||
*
|
||||
* \param[in] ctx PCO compiler context.
|
||||
* \param[in] layout Graphics/compute pipeline layout.
|
||||
* \param[in,out] nir NIR shader.
|
||||
*/
|
||||
void pvr_lower_nir(pco_ctx *ctx,
|
||||
struct pvr_pipeline_layout *layout,
|
||||
nir_shader *nir)
|
||||
{
|
||||
puts("finishme: pvr_lower_nir");
|
||||
}
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
/*
|
||||
* Copyright © 2024 Imagination Technologies Ltd.
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#ifndef PVR_NIR_H
|
||||
#define PVR_NIR_H
|
||||
|
||||
#include "nir/nir.h"
|
||||
#include "pco/pco.h"
|
||||
#include "pvr_private.h"
|
||||
|
||||
void pvr_lower_nir(pco_ctx *ctx,
|
||||
struct pvr_pipeline_layout *layout,
|
||||
nir_shader *nir);
|
||||
|
||||
#endif /* PVR_NIR_H */
|
||||
|
|
@ -39,7 +39,6 @@
|
|||
#include "pvr_csb.h"
|
||||
#include "pvr_csb_enum_helpers.h"
|
||||
#include "pvr_hardcode.h"
|
||||
#include "pvr_nir.h"
|
||||
#include "pvr_pds.h"
|
||||
#include "pvr_private.h"
|
||||
#include "pvr_robustness.h"
|
||||
|
|
@ -2170,7 +2169,6 @@ pvr_graphics_pipeline_compile(struct pvr_device *const device,
|
|||
pCreateInfo);
|
||||
|
||||
pco_lower_nir(pco_ctx, nir_shaders[stage], &shader_data[stage]);
|
||||
pvr_lower_nir(pco_ctx, layout, nir_shaders[stage]);
|
||||
|
||||
pco_postprocess_nir(pco_ctx, nir_shaders[stage], &shader_data[stage]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue