summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2018-12-14 18:25:38 -0600
committerJason Ekstrand <jason@jlekstrand.net>2019-01-08 00:38:30 +0000
commit3a7c5667c83f3a3f820a28af0e428bdfd010bd28 (patch)
tree855f27573d9ffa3da48e6866d7546726fc27afe0 /src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
parentadc155a8156ee4df18c66bc44587a6880a70bdd7 (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 <apinheiro@igalia.com> Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3/ir3_cmdline.c')
0 files changed, 0 insertions, 0 deletions