radv: expose radv_postprocess_nir()
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21764>
This commit is contained in:
committed by
Marge Bot
parent
c87c34bbba
commit
2fbd495ce7
@@ -3101,11 +3101,10 @@ ycbcr_conversion_lookup(const void *data, uint32_t set, uint32_t binding, uint32
|
||||
return ycbcr_samplers + array_index;
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
radv_postprocess_nir(struct radv_pipeline *pipeline,
|
||||
const struct radv_pipeline_layout *pipeline_layout,
|
||||
const struct radv_pipeline_key *pipeline_key,
|
||||
unsigned last_vgt_api_stage,
|
||||
const struct radv_pipeline_key *pipeline_key, unsigned last_vgt_api_stage,
|
||||
struct radv_pipeline_stage *stage)
|
||||
{
|
||||
struct radv_device *device = pipeline->device;
|
||||
|
||||
@@ -528,6 +528,7 @@ struct radv_shader_part {
|
||||
};
|
||||
|
||||
struct radv_pipeline_layout;
|
||||
struct radv_pipeline_stage;
|
||||
|
||||
void radv_optimize_nir(struct nir_shader *shader, bool optimize_conservatively);
|
||||
void radv_optimize_nir_algebraic(nir_shader *shader, bool opt_offsets);
|
||||
@@ -539,6 +540,11 @@ void radv_nir_apply_pipeline_layout(nir_shader *shader, struct radv_device *devi
|
||||
const struct radv_shader_info *info,
|
||||
const struct radv_shader_args *args);
|
||||
|
||||
void radv_postprocess_nir(struct radv_pipeline *pipeline,
|
||||
const struct radv_pipeline_layout *pipeline_layout,
|
||||
const struct radv_pipeline_key *pipeline_key, unsigned last_vgt_api_stage,
|
||||
struct radv_pipeline_stage *stage);
|
||||
|
||||
struct radv_pipeline_stage;
|
||||
|
||||
nir_shader *radv_shader_spirv_to_nir(struct radv_device *device,
|
||||
|
||||
Reference in New Issue
Block a user