CVS commit: xsrc/external/mit/MesaLib/dist/src/compiler/nir

2019-09-24 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Tue Sep 24 19:45:13 UTC 2019

Modified Files:
xsrc/external/mit/MesaLib/dist/src/compiler/nir: nir_builtin_builder.h

Log Message:
Provide a bogus definition of NAN for vax.

ifdef __vax__ rather than ifndef NAN to ensure it is never accidentally
picked up for non-VAX.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \
xsrc/external/mit/MesaLib/dist/src/compiler/nir/nir_builtin_builder.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/MesaLib/dist/src/compiler/nir/nir_builtin_builder.h
diff -u xsrc/external/mit/MesaLib/dist/src/compiler/nir/nir_builtin_builder.h:1.1.1.2 xsrc/external/mit/MesaLib/dist/src/compiler/nir/nir_builtin_builder.h:1.2
--- xsrc/external/mit/MesaLib/dist/src/compiler/nir/nir_builtin_builder.h:1.1.1.2	Tue Sep 24 16:44:18 2019
+++ xsrc/external/mit/MesaLib/dist/src/compiler/nir/nir_builtin_builder.h	Tue Sep 24 19:45:13 2019
@@ -179,6 +179,10 @@ nir_minmag(nir_builder *b, nir_ssa_def *
return nir_bcsel(b, condy, y, nir_bcsel(b, condx, x, nir_fmin(b, x, y)));
 }
 
+#ifdef __vax__
+#define NAN FLT_MAX
+#endif
+
 static inline nir_ssa_def*
 nir_nan(nir_builder *b, nir_ssa_def *x)
 {



CVS commit: xsrc/external/mit/MesaLib/dist/src/compiler/nir

2019-09-24 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Tue Sep 24 19:45:13 UTC 2019

Modified Files:
xsrc/external/mit/MesaLib/dist/src/compiler/nir: nir_builtin_builder.h

Log Message:
Provide a bogus definition of NAN for vax.

ifdef __vax__ rather than ifndef NAN to ensure it is never accidentally
picked up for non-VAX.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \
xsrc/external/mit/MesaLib/dist/src/compiler/nir/nir_builtin_builder.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.