Operator overloading

Is it possible to have operator overloading in DirectCompute code? Docs doesn’t say a thing about those, haven’t tried them yet.

Is it possible to have operator overloading in DirectCompute code? Docs doesn’t say a thing about those, haven’t tried them yet.

No, not as far as I know. HLSL is pretty basic, there aren’t any C++ features.

No, not as far as I know. HLSL is pretty basic, there aren’t any C++ features.

Hi Simon,

Yep, that’s what I’ve thought.

Thanks,

Hi Simon,

Yep, that’s what I’ve thought.

Thanks,