panfrost: Set usage2 during draw, not CSO
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 15 Jul 2019 21:59:03 +0000 (14:59 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 16 Jul 2019 14:19:28 +0000 (07:19 -0700)
commitaaae6180bfeaced3d1c03c35340d4e39a34f66a6
treed16d79ade3a673579b6c4e4eacd3e0b7b33b4353
parent7417b432113cd5b542f5bb4efd6c2b6120157576
panfrost: Set usage2 during draw, not CSO

It can change from a layout switch.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_context.h