@@ -4869,7 +4869,7 @@ def HLSLWaveReadLaneAt : LangBuiltin<"HLSL_LANG"> {
48694869
48704870def HLSLClamp : LangBuiltin<" HLSL_LANG" > {
48714871 let Spellings = [" __builtin_hlsl_elementwise_clamp" ];
4872- let Attributes = [NoThrow, Const];
4872+ let Attributes = [NoThrow, Const, CustomTypeChecking ];
48734873 let Prototype = " void(...)" ;
48744874}
48754875
@@ -4881,13 +4881,13 @@ def HLSLCross: LangBuiltin<"HLSL_LANG"> {
48814881
48824882def HLSLDegrees : LangBuiltin<" HLSL_LANG" > {
48834883 let Spellings = [" __builtin_hlsl_elementwise_degrees" ];
4884- let Attributes = [NoThrow, Const];
4884+ let Attributes = [NoThrow, Const, CustomTypeChecking ];
48854885 let Prototype = " void(...)" ;
48864886}
48874887
48884888def HLSLDotProduct : LangBuiltin<" HLSL_LANG" > {
48894889 let Spellings = [" __builtin_hlsl_dot" ];
4890- let Attributes = [NoThrow, Const];
4890+ let Attributes = [NoThrow, Const, CustomTypeChecking ];
48914891 let Prototype = " void(...)" ;
48924892}
48934893
@@ -4917,7 +4917,7 @@ def HLSLFirstBitLow : LangBuiltin<"HLSL_LANG"> {
49174917
49184918def HLSLFrac : LangBuiltin<" HLSL_LANG" > {
49194919 let Spellings = [" __builtin_hlsl_elementwise_frac" ];
4920- let Attributes = [NoThrow, Const];
4920+ let Attributes = [NoThrow, Const, CustomTypeChecking ];
49214921 let Prototype = " void(...)" ;
49224922}
49234923
@@ -4929,7 +4929,7 @@ def HLSLIsinf : LangBuiltin<"HLSL_LANG"> {
49294929
49304930def HLSLLerp : LangBuiltin<" HLSL_LANG" > {
49314931 let Spellings = [" __builtin_hlsl_lerp" ];
4932- let Attributes = [NoThrow, Const];
4932+ let Attributes = [NoThrow, Const, CustomTypeChecking ];
49334933 let Prototype = " void(...)" ;
49344934}
49354935
@@ -4941,25 +4941,25 @@ def HLSLMad : LangBuiltin<"HLSL_LANG"> {
49414941
49424942def HLSLNormalize : LangBuiltin<" HLSL_LANG" > {
49434943 let Spellings = [" __builtin_hlsl_normalize" ];
4944- let Attributes = [NoThrow, Const];
4944+ let Attributes = [NoThrow, Const, CustomTypeChecking ];
49454945 let Prototype = " void(...)" ;
49464946}
49474947
49484948def HLSLRcp : LangBuiltin<" HLSL_LANG" > {
49494949 let Spellings = [" __builtin_hlsl_elementwise_rcp" ];
4950- let Attributes = [NoThrow, Const];
4950+ let Attributes = [NoThrow, Const, CustomTypeChecking ];
49514951 let Prototype = " void(...)" ;
49524952}
49534953
49544954def HLSLRSqrt : LangBuiltin<" HLSL_LANG" > {
49554955 let Spellings = [" __builtin_hlsl_elementwise_rsqrt" ];
4956- let Attributes = [NoThrow, Const];
4956+ let Attributes = [NoThrow, Const, CustomTypeChecking ];
49574957 let Prototype = " void(...)" ;
49584958}
49594959
49604960def HLSLSaturate : LangBuiltin<" HLSL_LANG" > {
49614961 let Spellings = [" __builtin_hlsl_elementwise_saturate" ];
4962- let Attributes = [NoThrow, Const];
4962+ let Attributes = [NoThrow, Const, CustomTypeChecking ];
49634963 let Prototype = " void(...)" ;
49644964}
49654965
@@ -4983,7 +4983,7 @@ def HLSLStep: LangBuiltin<"HLSL_LANG"> {
49834983
49844984def HLSLRadians : LangBuiltin<" HLSL_LANG" > {
49854985 let Spellings = [" __builtin_hlsl_elementwise_radians" ];
4986- let Attributes = [NoThrow, Const];
4986+ let Attributes = [NoThrow, Const, CustomTypeChecking ];
49874987 let Prototype = " void(...)" ;
49884988}
49894989
@@ -5001,7 +5001,7 @@ def HLSLSplitDouble: LangBuiltin<"HLSL_LANG"> {
50015001
50025002def HLSLClip: LangBuiltin<" HLSL_LANG" > {
50035003 let Spellings = [" __builtin_hlsl_elementwise_clip" ];
5004- let Attributes = [NoThrow, Const];
5004+ let Attributes = [NoThrow, Const, CustomTypeChecking ];
50055005 let Prototype = " void(...)" ;
50065006}
50075007
0 commit comments