================ @@ -0,0 +1,46 @@ +// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple \ +// RUN: dxil-pc-shadermodel6.3-library %s -fnative-half-type \ +// RUN: -emit-llvm -disable-llvm-passes -o - | FileCheck %s \ +// RUN: --check-prefixes=CHECK,NATIVE_HALF -DTARGET=dx +// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple \ ---------------- hekota wrote:
With these defines it seems as an easy addition to also have a variant targeting DXIL with no native half type: ``` // RUN: %clang_cc1 -finclude-default-header -x hlsl -triple \ // RUN: dxil-pc-shadermodel6.3-library %s \ // RUN: -emit-llvm -disable-llvm-passes -o - | FileCheck %s \ // RUN: --check-prefixes=CHECK,NO_HALF -DTARGET=dx ``` https://github.com/llvm/llvm-project/pull/240969 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
