spirv: Only copy needed components for OpSpecConstantOp
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 6 Jun 2019 15:20:48 +0000 (10:20 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Wed, 19 Jun 2019 21:05:54 +0000 (21:05 +0000)
commita54e397152d299c4911c3b29f653b25d0d86811c
treea467d5de2c715e1fa8a5e385f85ff65a6317b97b
parent96bb9c9277383ddcd5920d066bdfec4aa009d733
spirv: Only copy needed components for OpSpecConstantOp

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