panfrost: Handle missing texture case
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 11 Jun 2019 21:21:14 +0000 (14:21 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 17 Jun 2019 14:59:14 +0000 (07:59 -0700)
commit0219b995003516aa6d2f8bb5ce6e0b02df2e835b
tree4ea76226ae3b153ca0b70689de5949cab53f650f
parent443f9ae0ad19fbb13dfde19f406c4e2892af55c0
panfrost: Handle missing texture case

In some cases, Gallium can give us bad info about the texture count,
counting some NULL textures. We pass Gallium's info to the hardware
blindly, which can confuse the hardware in edge cases. This patch
adjusts accordingly.
src/gallium/drivers/panfrost/pan_context.c