zink: factor out builtin-var creation
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 3 Jan 2020 11:20:02 +0000 (12:20 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 3 Jan 2020 22:20:12 +0000 (22:20 +0000)
commit1b2731f26860954a593ba0170413ed3a87713ae9
tree71c630f87f7754b9362f1cdba9ee8ef2270f54a9
parentce1ea6e9c23ee5a9640a95457ef8cb0283586d4c
zink: factor out builtin-var creation

This is useful so we can reuse it for the next patch

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