diff options
author | Jason Ekstrand <[email protected]> | 2018-12-14 18:25:38 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-01-08 00:38:30 +0000 |
commit | 3a7c5667c83f3a3f820a28af0e428bdfd010bd28 (patch) | |
tree | 855f27573d9ffa3da48e6866d7546726fc27afe0 /src/intel | |
parent | adc155a8156ee4df18c66bc44587a6880a70bdd7 (diff) |
spirv: Make better use of vtn_pointer_uses_ssa_offset
The choice of whether or not we should use block_load/store isn't a
choice between external and not so much as a choice between deref
instructions and manually calculated offsets. In vtn_pointer_from_ssa,
we guard the index+offset case behind vtn_pointer_uses_ssa_offset and
then branch out from there.
Reviewed-by: Alejandro PiƱeiro <[email protected]>
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/intel')
0 files changed, 0 insertions, 0 deletions