Texture2D t : register(t0, space1); SamplerState s : register(s1, space1); void main() { int4 res = t.GatherAlpha(s, (0.0f).xx); return; }