nir/range-analysis: C++ linkage
Fixes: 96303a59ea
("nir: Add some range analysis for used bits")
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9123>
This commit is contained in:
parent
cccac5e14f
commit
ce649e54f1
|
@ -41,10 +41,17 @@ struct ssa_result_range {
|
|||
bool is_integral;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct ssa_result_range
|
||||
nir_analyze_range(struct hash_table *range_ht,
|
||||
const nir_alu_instr *instr, unsigned src);
|
||||
|
||||
uint64_t nir_ssa_def_bits_used(nir_ssa_def *def);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* _NIR_RANGE_ANALYSIS_H_ */
|
||||
|
|
Loading…
Reference in New Issue