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