freedreno: use renderonly path for buffers allocated with modifiers
authorJonathan Marek <jonathan@marek.ca>
Wed, 20 Feb 2019 10:50:47 +0000 (11:50 +0100)
committerRob Clark <robdclark@gmail.com>
Wed, 27 Feb 2019 18:46:28 +0000 (18:46 +0000)
commite3591b03393402321d24e10b93ec5a827a4b9b6a
tree71e7671a7268b0887fafa8fcd0c2f4ce4f3024dc
parent6c0fefb448f0b72971c96a60907c77ce0512d590
freedreno: use renderonly path for buffers allocated with modifiers

Now that freedreno has create_with_modifiers(), this "hack" is needed to
make some cases work. Copied from vc4.

Fixes: 41ddf1d1
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
src/gallium/drivers/freedreno/freedreno_resource.c