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
386
cs->PA_VIEWPORT_SCALE_X =
etna_f32_to_fixp16
(vs->scale[0]);
387
cs->PA_VIEWPORT_SCALE_Y =
etna_f32_to_fixp16
(vs->scale[1]);
389
cs->PA_VIEWPORT_OFFSET_X =
etna_f32_to_fixp16
(vs->translate[0]);
390
cs->PA_VIEWPORT_OFFSET_Y =
etna_f32_to_fixp16
(vs->translate[1]);
396
cs->SE_SCISSOR_LEFT =
etna_f32_to_fixp16
(MAX2(vs->translate[0] - fabsf(vs->scale[0]), 0.0f));
397
cs->SE_SCISSOR_TOP =
etna_f32_to_fixp16
(MAX2(vs->translate[1] - fabsf(vs->scale[1]), 0.0f));
398
uint32_t right_fixp =
etna_f32_to_fixp16
(MAX2(vs->translate[0] + fabsf(vs->scale[0]), 0.0f));
399
uint32_t bottom_fixp =
etna_f32_to_fixp16
(MAX2(vs->translate[1] + fabsf(vs->scale[1]), 0.0f));
Completed in 793 milliseconds