OSDN Git Service

anv: fix Get*MemoryRequirements for !LLC
authorConnor Abbott <cwabbott0@gmail.com>
Tue, 14 Feb 2017 17:23:59 +0000 (12:23 -0500)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 23 Feb 2017 19:34:59 +0000 (19:34 +0000)
commit3b524138e6bad217fcf508340a86b65c874c9a9f
tree4fac1953a0c61ca7cb6588d51cb216de9dbb8f48
parente179a60c77e85492861605ee51b0e794c8a7eabf
anv: fix Get*MemoryRequirements for !LLC

Even though we supported both coherent and non-coherent memory types, we
effectively forced apps to use the coherent types by accident. Found by
inspection, only compile tested.

Signed-off-by: Connor Abbott <cwabbott0@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: "17.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 6319bfc2a6497d708ead536b9a6d5d5a00c1f2f3)
src/intel/vulkan/anv_device.c