mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-23 08:20:25 +01:00
nir: Allow using nir_eval_const_opcode in C++ code
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39184>
This commit is contained in:
parent
295b67f7bf
commit
e2ac22a068
1 changed files with 8 additions and 0 deletions
|
|
@ -31,9 +31,17 @@
|
|||
#include "nir_defines.h"
|
||||
#include "nir_opcodes.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void nir_eval_const_opcode(nir_op op, nir_const_value *dest,
|
||||
unsigned num_components, unsigned bit_size,
|
||||
nir_const_value **src,
|
||||
unsigned float_controls_execution_mode);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* NIR_CONSTANT_EXPRESSIONS_H */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue