diff options
author | Connor Abbott <cwabbott0@gmail.com> | 2015-11-02 18:33:46 -0500 |
---|---|---|
committer | Connor Abbott <cwabbott0@gmail.com> | 2015-11-02 18:33:46 -0500 |
commit | 183167efe73d07209615406f955456743a023389 (patch) | |
tree | 69c4f50cac860163020a3796483925bcd6d929e3 | |
parent | 9307c72bb128d8906f7dfcd8ac9afc7c9ed09e92 (diff) |
nir/lower_vec: handle different bit sizesi965-fp64-v3
-rw-r--r-- | src/glsl/nir/nir_lower_vec_to_movs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/nir/nir_lower_vec_to_movs.c b/src/glsl/nir/nir_lower_vec_to_movs.c index c08b721dae..839a52af24 100644 --- a/src/glsl/nir/nir_lower_vec_to_movs.c +++ b/src/glsl/nir/nir_lower_vec_to_movs.c @@ -238,6 +238,7 @@ lower_vec_to_movs_block(nir_block *block, void *void_state) /* Since we insert multiple MOVs, we have a register destination. */ nir_register *reg = nir_local_reg_create(impl); reg->num_components = vec->dest.dest.ssa.num_components; + reg->bit_size = vec->dest.dest.ssa.bit_size; nir_ssa_def_rewrite_uses(&vec->dest.dest.ssa, nir_src_for_reg(reg)); |