yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
725985528
master
1// implicit-conversion-binary-op.hlsl 2//TEST:COMPARE_HLSL: -profile ps_5_0 3 4// Make sure that we can pick resolve the right overload 5// to call when applying a binary operator to vectors 6// with different element types. We should pick 7// the "better" of the two element types, and not 8// get an ambiguity error. 9 10float4 main ( 11float4 a : A , 12uint4 b : B 13) : SV_TARGET 14{ 15return a * b ; 16}