llvmpipe: Support sampling from signed and mixed siged formats.
[mesa.git] / src / gallium / auxiliary / util / u_gctors.cpp
1 /* this file uses the C++ global constructor mechanism to automatically
2 initialize global data
3
4 __attribute__((constructor)) allows to do this in C, but is GCC-only
5 */
6
7 #include "u_half.h"
8
9 struct util_gctor_t
10 {
11 util_gctor_t()
12 {
13 util_half_init_tables();
14 }
15 };
16
17 static struct util_gctor_t util_gctor;