zink: implement load_vertex_id
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 3 Jan 2020 11:21:02 +0000 (12:21 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 3 Jan 2020 22:20:12 +0000 (22:20 +0000)
commite51bf4914c4412644b4049385286596abead22d8
tree7081a9086fb5be4003fd0d84980c4122b9365679
parent1b2731f26860954a593ba0170413ed3a87713ae9
zink: implement load_vertex_id

Not 100% sure if this matches the semantics, but it seems to pass the
tests, so it seems like an improvement.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c