Change default validator version to 1.8 in Options.td. Remove the default value set in HLSL.cpp. Fixes #102963 This also helps #99910.
11 lines
266 B
HLSL
11 lines
266 B
HLSL
// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-library -emit-llvm -xhlsl -o - %s | FileCheck %s
|
|
|
|
// CHECK:!dx.valver = !{![[valver:[0-9]+]]}
|
|
// CHECK:![[valver]] = !{i32 1, i32 8}
|
|
|
|
float bar(float a, float b);
|
|
|
|
float foo(float a, float b) {
|
|
return bar(a, b);
|
|
}
|