nir/spirv: Don't multiply the push constant block size by 4
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 13 Jul 2016 18:35:29 +0000 (11:35 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 13 Jul 2016 18:35:29 +0000 (11:35 -0700)
commit49476576ddd5c743b852bb2c1ad75ebfe3e1c72d
treec934475edb6f1fb803c86c33143b196e625f5622
parent1eed753ee8725baf41790d30f94bc3567653c28c
nir/spirv: Don't multiply the push constant block size by 4

I have no idea why we were multiplying by 4 before.  The offsets we get
from SPIR-V are in bytes and so is nir->num_uniforms so there's no need to
do any adjustment whatsoever.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
src/compiler/spirv/vtn_variables.c