spirv: Only set interface_type on blocks
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 21 Jan 2019 22:09:56 +0000 (16:09 -0600)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 22 Jan 2019 16:42:56 +0000 (10:42 -0600)
commit9c14440e8194acaa92cf0edb751700b94570ec3b
tree82fba21b397b2a0518a0034e6fd37bdaa0643f52
parentda2959463616756e89cece39f2bae1d437df4bbd
spirv: Only set interface_type on blocks

Instead of setting interface_type to whatever the per-vertex type is, we
only set it on blocks.  This allows later passes to tell the difference
between variables that are in blocks and those that aren't.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
src/compiler/spirv/vtn_variables.c