panfrost: Implement dispatch helpers
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 27 Jun 2019 15:29:06 +0000 (08:29 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 1 Jul 2019 14:42:55 +0000 (07:42 -0700)
commitc9b164f9b59d5f201b2c50838a03d9d3d8bda1a6
treeef897280f524ced4b42913cdb53399cdc8079967
parent8fd748de3d3faa4845be7abc1987e90b9d668935
panfrost: Implement dispatch helpers

Rather than open-coding workgroups_shift_* type fields, we include a
general routine for packing the vertex/tiler/compute descriptor based on
the provided dispatch parameters.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/meson.build
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_context.h
src/gallium/drivers/panfrost/pan_invocation.c [new file with mode: 0644]