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