i965/vec4: Refactor sampler message setup.
The next patch adds an additional case where the message header is necessary. So we want to do the g0 copy if inst->header_present is set, rather than inst->texture_offset. Signed-off-by: Kenneth Graunke <firstname.lastname@example.org> Reviewed-by: Matt Turner <email@example.com> Reviewed-by: Chris Forbes <firstname.lastname@example.org>
Showing with 22 additions and 17 deletions