Searched refs:RND (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/xf86-video-trident/dist/src/
H A Dtrident_dac.c202 #define RND(x) ((((x) - (int) (x)) < 0.5) ? (int)(x) : (int)(x) + 1) macro
205 i_slopes[i] = (3 << 4) | (RND(slope) & 0xf);
207 i_slopes[i] = (2 << 4) | (RND(slope * 2) & 0xf);
209 i_slopes[i] = (1 << 4) | (RND(slope * 4) & 0xf);
211 i_slopes[i] = (RND(slope * 8) & 0xf);
212 #undef RND
/xsrc/external/mit/MesaLib/dist/src/compiler/spirv/
H A Dspirv.core.grammar.json10453 "enumerant" : "RND",

Completed in 126 milliseconds