Home
last modified time | relevance | path

Searched refs:inner_const (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dopt_algebraic.cpp872 ir_constant *inner_const = y->as_constant(); in handle_expression() local
873 if (!inner_const) in handle_expression()
878 inner_const->is_zero() && in handle_expression()
884 inner_const->is_one() && in handle_expression()
890 inner_const->is_zero() && in handle_expression()
896 is_less_than_one(inner_const) && in handle_expression()
898 return saturate(expr(ir_binop_min, x, inner_const)); in handle_expression()
902 inner_const->is_one() && in handle_expression()
908 is_greater_than_zero(inner_const) && in handle_expression()
910 return saturate(expr(ir_binop_max, x, inner_const)); in handle_expression()