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 <email@example.com> Reviewed-by: Matt Turner <firstname.lastname@example.org> Reviewed-by: Chris Forbes <email@example.com>
Showing with 22 additions and 17 deletions