Getting weird hlsl error

Yesterday I tried adding some new material nodes to the engine, but I’ve not been having much luck. I was pretty sure I added all the necessary code I was supposed to after I finally got it to compile.

When I went to test them out I was getting what appeared to be an hlsl error, [sm5] error x3004: undeclared identifier ‘HSVtoRGB’ and I also got the same for the RGBtoHSV node I created. What exactly could I be missing?

did you write the HLSL yourself? Can we see it? also any info on what you actually try to do?