mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 15:50:11 +01:00
44 lines
1.3 KiB
C
44 lines
1.3 KiB
C
|
|
/*
|
||
|
|
* Copyright (c) 2015-2023 Intel Corporation
|
||
|
|
* SPDX-License-Identifier: MIT
|
||
|
|
*/
|
||
|
|
|
||
|
|
#ifndef INTEL_NIR_H
|
||
|
|
#define INTEL_NIR_H
|
||
|
|
|
||
|
|
#include "nir.h"
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
extern "C" {
|
||
|
|
#endif
|
||
|
|
|
||
|
|
struct intel_device_info;
|
||
|
|
|
||
|
|
bool brw_nir_lower_conversions(nir_shader *nir);
|
||
|
|
bool brw_nir_lower_shading_rate_output(nir_shader *nir);
|
||
|
|
bool brw_nir_lower_sparse_intrinsics(nir_shader *nir);
|
||
|
|
bool brw_nir_lower_non_uniform_resource_intel(nir_shader *shader);
|
||
|
|
bool brw_nir_cleanup_resource_intel(nir_shader *shader);
|
||
|
|
bool brw_nir_clamp_image_1d_2d_array_sizes(nir_shader *shader);
|
||
|
|
void brw_nir_apply_tcs_quads_workaround(nir_shader *nir);
|
||
|
|
bool brw_nir_lower_non_uniform_barycentric_at_sample(nir_shader *nir);
|
||
|
|
bool brw_nir_opt_peephole_ffma(nir_shader *shader);
|
||
|
|
bool brw_nir_opt_peephole_imul32x16(nir_shader *shader);
|
||
|
|
bool brw_nir_clamp_per_vertex_loads(nir_shader *shader);
|
||
|
|
bool brw_nir_lower_patch_vertices_in(nir_shader *shader, unsigned input_vertices);
|
||
|
|
bool brw_nir_blockify_uniform_loads(nir_shader *shader,
|
||
|
|
const struct intel_device_info *devinfo);
|
||
|
|
bool brw_nir_pulls_at_sample(nir_shader *shader);
|
||
|
|
|
||
|
|
struct brw_nir_lower_texture_opts {
|
||
|
|
bool combined_lod_and_array_index;
|
||
|
|
};
|
||
|
|
bool brw_nir_lower_texture(nir_shader *nir,
|
||
|
|
const struct brw_nir_lower_texture_opts *opts);
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#endif /* INTEL_NIR_H */
|