spirv: add vtn_create_builder
authorAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 18 Jan 2018 11:24:38 +0000 (12:24 +0100)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Fri, 30 Mar 2018 07:14:56 +0000 (09:14 +0200)
commitbebe3d626e562bd2dd027f9bcd5fdeeab62997cd
tree93b771681ba246edeec7249e94e5334ce1e60caa
parent3761e675e27b85f43fe86afe37326c9012577e4b
spirv: add vtn_create_builder

Refactored from spirv_to_nir, in order to be reused later.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
v2: renamed method (from vtn_builder_create), add explanatory comment
    (Timothy)
src/compiler/spirv/spirv_to_nir.c
src/compiler/spirv/vtn_private.h