Searched refs:etna_f32_to_fixp16 (Results 1 – 2 of 2) sorted by relevance
381 cs->PA_VIEWPORT_SCALE_X = etna_f32_to_fixp16(vs->scale[0]); in etna_set_viewport_states()382 cs->PA_VIEWPORT_SCALE_Y = etna_f32_to_fixp16(vs->scale[1]); in etna_set_viewport_states()384 cs->PA_VIEWPORT_OFFSET_X = etna_f32_to_fixp16(vs->translate[0]); in etna_set_viewport_states()385 cs->PA_VIEWPORT_OFFSET_Y = etna_f32_to_fixp16(vs->translate[1]); in etna_set_viewport_states()391 cs->SE_SCISSOR_LEFT = etna_f32_to_fixp16(MAX2(vs->translate[0] - fabsf(vs->scale[0]), 0.0f)); in etna_set_viewport_states()392 cs->SE_SCISSOR_TOP = etna_f32_to_fixp16(MAX2(vs->translate[1] - fabsf(vs->scale[1]), 0.0f)); in etna_set_viewport_states()393 uint32_t right_fixp = etna_f32_to_fixp16(MAX2(vs->translate[0] + fabsf(vs->scale[0]), 0.0f)); in etna_set_viewport_states()394 uint32_t bottom_fixp = etna_f32_to_fixp16(MAX2(vs->translate[1] + fabsf(vs->scale[1]), 0.0f)); in etna_set_viewport_states()
97 etna_f32_to_fixp16(float f) in etna_f32_to_fixp16() function