zink: support emitting 16-bit float types

Graphics / Mesa 3D Graphics Library / Mesa - Erik Faye-Lund [collabora.com] - 30 April 2021 12:02 UTC

This prepares us for being able to support using 16-bit float types in shaders, which might help performance in some cases.

1971efe5ba7 zink: support emitting 16-bit float types
.../drivers/zink/nir_to_spirv/nir_to_spirv.c | 33 +++++++++++++++++-----
.../drivers/zink/nir_to_spirv/spirv_builder.c | 13 ++++++---
2 files changed, 35 insertions(+), 11 deletions(-)

Upstream: cgit.freedesktop.org


  • Share