OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:etna_f32_to_fixp16
(Results
1 - 2
of
2
) sorted by null
/external/mesa3d/src/gallium/drivers/etnaviv/
etnaviv_util.h
97
etna_f32_to_fixp16
(float f)
function
etnaviv_state.c
381
cs->PA_VIEWPORT_SCALE_X =
etna_f32_to_fixp16
(vs->scale[0]);
382
cs->PA_VIEWPORT_SCALE_Y =
etna_f32_to_fixp16
(vs->scale[1]);
384
cs->PA_VIEWPORT_OFFSET_X =
etna_f32_to_fixp16
(vs->translate[0]);
385
cs->PA_VIEWPORT_OFFSET_Y =
etna_f32_to_fixp16
(vs->translate[1]);
391
cs->SE_SCISSOR_LEFT =
etna_f32_to_fixp16
(MAX2(vs->translate[0] - fabsf(vs->scale[0]), 0.0f));
392
cs->SE_SCISSOR_TOP =
etna_f32_to_fixp16
(MAX2(vs->translate[1] - fabsf(vs->scale[1]), 0.0f));
393
uint32_t right_fixp =
etna_f32_to_fixp16
(MAX2(vs->translate[0] + fabsf(vs->scale[0]), 0.0f));
394
uint32_t bottom_fixp =
etna_f32_to_fixp16
(MAX2(vs->translate[1] + fabsf(vs->scale[1]), 0.0f));
Completed in 334 milliseconds