Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
#include "${clheader}"
#include <assert.h>
+#include "util/u_math.h"
%for mthd in mthddict:
struct nv_${nvcl.lower()}_${mthd} {
}
%else:
%if mthddict[mthd].is_float:
- printf("%ff (0x%x)${bs}n", *(float *)&parsed, parsed);
+ printf("%ff (0x%x)${bs}n", uif(parsed), parsed);
%else:
printf("(0x%x)${bs}n", parsed);
%endif
_libnvidia_headers = static_library(
'nvidia_headers',
cl_generated,
- include_directories : ['.', 'classes'],
+ include_directories : ['.', 'classes', inc_include, inc_src],
c_args : [no_override_init_args],
gnu_symbol_visibility : 'hidden',
)