spirv: Initialize subgroup destinations with the destination type
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 19 Oct 2018 21:32:15 +0000 (16:32 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 26 Oct 2018 16:45:29 +0000 (11:45 -0500)
commit18fb2c5d92b1fe3793f516cc7d45f058b61e57b5
tree4073a8b2e81130e76a6d4d7e847e243e9c21cfc3
parent8fa70cfcfdda1094bc19e9707eb9333477a2d2bf
spirv: Initialize subgroup destinations with the destination type

Instead of initializing them manually, just use the type that we already
have sitting there.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/spirv/vtn_subgroup.c