spirv: Enable FPRoundingMode decorator to nir operations

Graphics / Mesa 3D Graphics Library / Mesa - Jose Maria Casanova Crespo [igalia.com] - 6 December 2017 07:57 EST

SpvOpFConvert now manages the FPRoundingMode decorator for the returning values enabling the nir_rounding_mode in the conversion operation to fp16 values.

v2: Fixed breaking of specialization constants. (Jason Ekstrand)

v3: Avoid nir_rounding_mode * casting. (Jason Ekstrand)

e0667a8bd8 spirv: Enable FPRoundingMode decorator to nir operations
src/compiler/spirv/vtn_alu.c | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)

Upstream: cgit.freedesktop.org


  • Share