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