We have a request for this in hlsl-specs (microsoft/hlsl-specs#24). Ecma TC 57 hasn't yet decided that this will be a feature for HLSL, however we have some driving use cases. To facilitate those use cases we want to add auto to DXC as an extension pending a decision by TC 57.
Is your feature request related to a problem? Please describe.
We've done some prototyping of higher-level interfaces that get a bit template-ugly. The code becomes significantly easier to read with the auto keyword.
Additional context
Clang already supports auto for HLSL with C++11-level functionality.
We have a request for this in hlsl-specs (microsoft/hlsl-specs#24). Ecma TC 57 hasn't yet decided that this will be a feature for HLSL, however we have some driving use cases. To facilitate those use cases we want to add
autoto DXC as an extension pending a decision by TC 57.Is your feature request related to a problem? Please describe.
We've done some prototyping of higher-level interfaces that get a bit template-ugly. The code becomes significantly easier to read with the
autokeyword.Additional context
Clang already supports
autofor HLSL with C++11-level functionality.