glsl/nir: Fix copying 64-bit values in uniform storage
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Sat, 22 Jun 2019 00:11:54 +0000 (17:11 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Mon, 24 Jun 2019 18:32:14 +0000 (11:32 -0700)
commit6e2ff108865545557cc8dae11b911a1ebddb61c3
treedb64d98bd4303e4466c4d07bd694e2e25a871c21
parent390ff8ac54693262e7d56d8d467dbb6be8c858ae
glsl/nir: Fix copying 64-bit values in uniform storage

The iterator `i` already walks the right amount now that is
incremented by `dmul`, so no need to `* 2`.  Fixes invalid memory
access in upcoming ARB_gl_spirv tests.

Failure bisected by Arcady Goldmints-Orlov.

Fixes: b019fe8a5b6 "glsl/nir: Fix handling of 64-bit values in uniform storage"
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/glsl/gl_nir_link_uniform_initializers.c