Skip to content

Commit 7035592

Browse files
authored
[libspirv] delete mix with vector type x and scalar type a (#20399)
SPIR-V OpenCL.ExtendedInstructionSet.100 requires all of the operands must be the same type for mix.
1 parent 8911971 commit 7035592

File tree

1 file changed

+0
-8
lines changed
  • libclc/libspirv/lib/generic/common

1 file changed

+0
-8
lines changed

libclc/libspirv/lib/generic/common/mix.inc

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,3 @@ _CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE __spirv_ocl_mix(__CLC_GENTYPE x,
1111
__CLC_GENTYPE a) {
1212
return __clc_mad(y - x, a, x);
1313
}
14-
15-
#ifndef __CLC_SCALAR
16-
_CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE __spirv_ocl_mix(__CLC_GENTYPE x,
17-
__CLC_GENTYPE y,
18-
__CLC_SCALAR_GENTYPE a) {
19-
return __spirv_ocl_mix(x, y, (__CLC_GENTYPE)a);
20-
}
21-
#endif

0 commit comments

Comments
 (0)