[Mesa-dev] [PATCH 0/2] i965: Add support for fp16 <-> fp64 conversions

Samuel Iglesias Gonsálvez siglesias at igalia.com
Fri Apr 13 05:30:39 UTC 2018


Hello,

This series implements support for doing fp16 <-> fp64 conversions on
i965. The PRM says we need to do an intermediate conversion to a 32 bit
type.

This patch series applies on top of shaderInt16's patch series [0].
There is a branch for testing on Github:

$ git clone https://github.com/Igalia/mesa.git \
  -b siglesias/vulkan-fp16-fp64-conversions

There are tests for Vulkan CTS under review (CL#2246) for testing these
patches.

Best regards,

Sam

[0] https://lists.freedesktop.org/archives/mesa-dev/2018-April/191888.html

Samuel Iglesias Gonsálvez (2):
  i965/fs: implement conversions from float16 to 64 bits data types
  i965/fs: Implement float64 to float16 conversion

 src/intel/compiler/brw_fs_nir.cpp | 49 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

-- 
2.14.1



More information about the mesa-dev mailing list