Mesa (master): microsoft/compiler: Add dxil_nir_lower_16bit_conv prototype.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Nov 11 20:17:10 UTC 2020
Module: Mesa
Branch: master
Commit: 50175716d26273d273b54627715465e74cb45ae3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=50175716d26273d273b54627715465e74cb45ae3
Author: Vinson Lee <vlee at freedesktop.org>
Date: Wed Nov 11 11:49:50 2020 -0800
microsoft/compiler: Add dxil_nir_lower_16bit_conv prototype.
Fix missing-prototypes build error.
src/microsoft/compiler/dxil_nir_algebraic.c:5761:1: error: no previous prototype for ‘dxil_nir_lower_16bit_conv’ [-Werror=missing-prototypes]
5761 | dxil_nir_lower_16bit_conv(nir_shader *shader)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Fixes: b9c61379ab4 ("microsoft/compiler: translate nir to dxil")
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7559>
---
src/microsoft/compiler/dxil_nir.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/microsoft/compiler/dxil_nir.h b/src/microsoft/compiler/dxil_nir.h
index 49de8eb9934..b20b63257b9 100644
--- a/src/microsoft/compiler/dxil_nir.h
+++ b/src/microsoft/compiler/dxil_nir.h
@@ -29,6 +29,7 @@
#include "nir_builder.h"
bool dxil_nir_lower_8bit_conv(nir_shader *shader);
+bool dxil_nir_lower_16bit_conv(nir_shader *shader);
bool dxil_nir_lower_x2b(nir_shader *shader);
bool dxil_nir_lower_inot(nir_shader *shader);
More information about the mesa-commit
mailing list