r600: don't use vtx offset for load_sample_position
authorRoland Scheidegger <sroland@vmware.com>
Mon, 1 Jan 2018 18:40:56 +0000 (19:40 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 10 Jan 2018 03:59:00 +0000 (04:59 +0100)
commit6c8d6ce982d3ce9dfde02a59db23b138df26ae55
tree4bb50200a3b6d09a47f98a09070ebd1c35d2bc2d
parentf4b1ec297298f1e638010c2fdd8432e6105e9fab
r600: don't use vtx offset for load_sample_position

The offset looks bogus to me. Albeit in the end it doesn't matter, by the
looks of it offsets smaller than 4 get ignored there (not sure of the rules,
I suppose either non-dword aligned offsets never work there or the offset
must be at least aligned to the size of a single element).

Tested-by: Konstantin Kharlamov <hi-angel@yandex.ru>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_shader.c