mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 22:20:14 +01:00
Take the opportunity to reuse the backend pass. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Ivan Briano <ivan.briano@intel.com> Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34109>
46 lines
1.4 KiB
C
46 lines
1.4 KiB
C
/*
|
|
* Copyright (c) 2015-2023 Intel Corporation
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "nir.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct intel_device_info;
|
|
|
|
|
|
|
|
void intel_nir_apply_tcs_quads_workaround(nir_shader *nir);
|
|
bool brw_nir_rebase_const_offset_ubo_loads(nir_shader *shader);
|
|
bool intel_nir_blockify_uniform_loads(nir_shader *shader,
|
|
const struct intel_device_info *devinfo);
|
|
bool intel_nir_clamp_image_1d_2d_array_sizes(nir_shader *shader);
|
|
bool intel_nir_clamp_per_vertex_loads(nir_shader *shader);
|
|
bool intel_nir_cleanup_resource_intel(nir_shader *shader);
|
|
|
|
bool intel_nir_lower_non_uniform_barycentric_at_sample(nir_shader *nir);
|
|
bool intel_nir_lower_non_uniform_resource_intel(nir_shader *shader);
|
|
bool intel_nir_lower_patch_vertices_in(nir_shader *shader,
|
|
unsigned input_vertices,
|
|
nir_lower_instr_cb cb,
|
|
void *data);
|
|
bool intel_nir_lower_shading_rate_output(nir_shader *nir);
|
|
bool intel_nir_lower_sparse_intrinsics(nir_shader *nir);
|
|
|
|
bool intel_nir_opt_peephole_ffma(nir_shader *shader);
|
|
bool intel_nir_opt_peephole_imul32x16(nir_shader *shader);
|
|
|
|
bool intel_nir_pulls_at_sample(nir_shader *shader);
|
|
|
|
unsigned intel_nir_split_conversions_cb(const nir_instr *instr, void *data);
|
|
|
|
bool intel_nir_lower_printf(nir_shader *nir);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|