summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/viewport.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-12-14 18:25:38 -0600
committerJason Ekstrand <[email protected]>2019-01-08 00:38:30 +0000
commit3a7c5667c83f3a3f820a28af0e428bdfd010bd28 (patch)
tree855f27573d9ffa3da48e6866d7546726fc27afe0 /src/mesa/main/viewport.h
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 <[email protected]> Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/mesa/main/viewport.h')
0 files changed, 0 insertions, 0 deletions