added the sampler state outside the shader because thats the way its supposed to be done apparently