X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fcompiler%2Fnir%2Fnir_constant_expressions.h;h=087663f74803e32fd670f1e482545302d7bbc8b3;hb=91672becc3a0403ebf8bc149636ee92646e2df7f;hp=201f278c71c887f5efd24bc9c48ceff374060197;hpb=9076c4e289de0debf1fb2a7237bdeb9c11002347;p=mesa.git diff --git a/src/compiler/nir/nir_constant_expressions.h b/src/compiler/nir/nir_constant_expressions.h index 201f278c71c..087663f7480 100644 --- a/src/compiler/nir/nir_constant_expressions.h +++ b/src/compiler/nir/nir_constant_expressions.h @@ -25,7 +25,13 @@ * */ +#ifndef NIR_CONSTANT_EXPRESSIONS_H +#define NIR_CONSTANT_EXPRESSIONS_H + #include "nir.h" -nir_const_value nir_eval_const_opcode(nir_op op, unsigned num_components, - unsigned bit_size, nir_const_value *src); +void nir_eval_const_opcode(nir_op op, nir_const_value *dest, + unsigned num_components, unsigned bit_size, + nir_const_value **src); + +#endif /* NIR_CONSTANT_EXPRESSIONS_H */