Files
clang-p2996/libclc/generic/include/clc/relational/select.h
Fraser Cormack d96ec48068 [libclc] Route select through __clc_select (#123647)
This was missed during the introduction of select. This also unifies the
various .inc files used for each, as they were essentially identical.

The __clc_select function is now also built for SPIR-V targets.
2025-01-21 10:05:39 +00:00

15 lines
419 B
C

/* Duplciate these so we don't have to distribute utils.h */
#define __CLC_CONCAT(x, y) x ## y
#define __CLC_XCONCAT(x, y) __CLC_CONCAT(x, y)
#define __CLC_SELECT_FN select
#define __CLC_BODY <clc/relational/clc_select_decl.inc>
#include <clc/math/gentype.inc>
#define __CLC_BODY <clc/relational/clc_select_decl.inc>
#include <clc/integer/gentype.inc>
#undef __CLC_SELECT_FN
#undef __CLC_CONCAT
#undef __CLC_XCONCAT