summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_gpu_info.c
diff options
context:
space:
mode:
authorJose Maria Casanova Crespo <[email protected]>2017-07-01 07:58:26 +0200
committerJose Maria Casanova Crespo <[email protected]>2017-12-06 08:57:18 +0100
commit1f440d00d2b6ae6f74fb850ea5acec1f1b5efa58 (patch)
tree46460eeeeeeefe82036e98926071b06ba92e441e /src/amd/common/ac_gpu_info.c
parent2af63683bc61e1efb8f634697770d314ef07c882 (diff)
nir: Handle fp16 rounding modes at nir_type_conversion_op
nir_type_conversion enables new operations to handle rounding modes to convert to fp16 values. Two new opcodes are enabled nir_op_f2f16_rtne and nir_op_f2f16_rtz. The undefined behaviour doesn't has any effect and uses the original nir_op_f2f16 operation. v2: Indentation fixed (Jason Ekstrand) v3: Use explicit case for undefined rounding and assert if rounding mode is used for non 16-bit float conversions (Jason Ekstrand) Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/amd/common/ac_gpu_info.c')
0 files changed, 0 insertions, 0 deletions