diff options
author | Jason Ekstrand <[email protected]> | 2018-12-14 11:06:07 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-01-08 00:38:29 +0000 |
commit | abfe674c54bee6f8fdcae411b07db89c10b9d530 (patch) | |
tree | 94b3bb6fcd643e4e604afe06b809b2507d3494a3 /src/compiler/nir/nir_deref.c | |
parent | bfe31c5e461a1330d6f606bf5310685eff1198dd (diff) |
spirv: Handle arbitrary bit sizes for deref array indices
We already had code in link_as_ssa to handle bit sizes; we just need to
use it. While we're at it we clean up link_as_ssa a bit and add an
explicit bit_size parameter in preparation for a day when we have derefs
that aren't 32 bit.
Cc: [email protected]
Reviewed-by: Alejandro PiƱeiro <[email protected]>
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_deref.c')
0 files changed, 0 insertions, 0 deletions