Depending on what your original HLSL code does, you may be able to use the custom expression in the Material Editor, which lets you enter raw HLSL code.
Depending on what your original HLSL code does, you may be able to use the custom expression in the Material Editor, which lets you enter raw HLSL code.