diff options
author | Neil Roberts <[email protected]> | 2018-03-21 20:34:38 +0100 |
---|---|---|
committer | Neil Roberts <[email protected]> | 2018-04-17 20:58:03 +0200 |
commit | 696f4abcbc07b96724307823b9e807cd981da3b5 (patch) | |
tree | fc02cacbb3dcc10402527c37c8bddbbc02f60e8c /src/compiler/spirv/vtn_alu.c | |
parent | e7b2c125c3f3df43b032e398d900e2ac7f91398a (diff) |
spirv: Use nir_imm_floatN_t for constants for GLSL450 builtins
There is an existing macro that is used to choose between either a
float or a double immediate constant based on the bit size of the
first operand to the builtin. This is now changed to use the new
nir_imm_floatN_t helper function to reduce the number of places that
make this decision.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/spirv/vtn_alu.c')
0 files changed, 0 insertions, 0 deletions