glsl: Add ir_constant constructor for fp16
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3929>
This commit is contained in:

committed by
Marge Bot

parent
b75a166e68
commit
4068d6baff
@@ -30,6 +30,7 @@
|
||||
|
||||
#include "util/ralloc.h"
|
||||
#include "util/format/u_format.h"
|
||||
#include "util/half_float.h"
|
||||
#include "compiler/glsl_types.h"
|
||||
#include "list.h"
|
||||
#include "ir_visitor.h"
|
||||
@@ -2190,6 +2191,7 @@ public:
|
||||
ir_constant(bool b, unsigned vector_elements=1);
|
||||
ir_constant(unsigned int u, unsigned vector_elements=1);
|
||||
ir_constant(int i, unsigned vector_elements=1);
|
||||
ir_constant(float16_t f16, unsigned vector_elements=1);
|
||||
ir_constant(float f, unsigned vector_elements=1);
|
||||
ir_constant(double d, unsigned vector_elements=1);
|
||||
ir_constant(uint64_t u64, unsigned vector_elements=1);
|
||||
|
Reference in New Issue
Block a user