spirv: Add a vtn_constant_int helper
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 6 Jun 2019 14:53:27 +0000 (09:53 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Wed, 19 Jun 2019 21:05:54 +0000 (21:05 +0000)
commitaa11c2e75e191f8201fe5462ef8c14e81dde964e
treef5c007cfd5d44fe520518f5133ea9df5b80629c2
parent93f4aa98894cbc57325b90ecb128b22e6448de23
spirv: Add a vtn_constant_int helper

Reviewed-by: Karol Herbst <kherbst@redhat.com>
src/compiler/spirv/vtn_private.h
src/compiler/spirv/vtn_variables.c