Shadertoy Porting Texture problem

By using just Sample() you don’t address the mipmap level, so simply use SampleLevel().
@tekcor: it can of course be a floating point value to interpolate between two mipmap levels.