pan/decode: Handle gl_VertexID/gl_InstanceID
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 19 Dec 2019 17:28:42 +0000 (12:28 -0500)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 25 Dec 2019 03:54:58 +0000 (22:54 -0500)
commit3b3d9653a7e7971a754f8debb8b6680f36e88953
treef537983bd693104855864898bcea0c611c756fc3
parentd36ca7c0a38dcae2e63296b38558844084e21d5d
pan/decode: Handle gl_VertexID/gl_InstanceID

Just like varyings have special records for point coordinates (etc),
attributes have special records for vertex/instance ID. We can parse
these fairly easily, although they don't line up exactly with normal
attribute records.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_varyings.c
src/panfrost/include/panfrost-job.h
src/panfrost/pandecode/decode.c