etnaviv: nir: allocate contiguous components for LOAD destination
authorJonathan Marek <jonathan@marek.ca>
Wed, 11 Sep 2019 18:29:10 +0000 (14:29 -0400)
committerJonathan Marek <jonathan@marek.ca>
Sat, 28 Sep 2019 04:33:42 +0000 (00:33 -0400)
commit0036e078e3d097f8a7a94235052f6d0e647e4da1
tree7535094008b9d8ff536e1dacb9a7ba81797ca9e9
parent7da15bdd2d05cc252b28cf385bf2cf2b31aa576b
etnaviv: nir: allocate contiguous components for LOAD destination

LOAD starts reading into the first enabled destination component, and
doesn't skip disabled components, so we need to allocate a destination with
contiguous components.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_compiler_nir_emit.h