glsl: add f2f16() helper to ir_builder
Acked-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18540>
This commit is contained in:

committed by
Marge Bot

parent
94865a45f8
commit
eea1c1fa7b
@@ -553,6 +553,12 @@ interpolate_at_sample(operand a, operand b)
|
||||
return expr(ir_binop_interpolate_at_sample, a, b);
|
||||
}
|
||||
|
||||
ir_expression *
|
||||
f2f16(operand a)
|
||||
{
|
||||
return expr(ir_unop_f2f16, a);
|
||||
}
|
||||
|
||||
ir_expression *
|
||||
f2d(operand a)
|
||||
{
|
||||
|
@@ -180,6 +180,8 @@ ir_expression *i2b(operand a);
|
||||
ir_expression *f2b(operand a);
|
||||
ir_expression *b2f(operand a);
|
||||
|
||||
ir_expression *f2f16(operand a);
|
||||
|
||||
ir_expression *f2d(operand a);
|
||||
ir_expression *i2d(operand a);
|
||||
ir_expression *u2d(operand a);
|
||||
|
Reference in New Issue
Block a user