diff options
author | Samuel Iglesias Gonsalvez <[email protected]> | 2015-09-23 08:48:21 +0200 |
---|---|---|
committer | Samuel Iglesias Gonsalvez <[email protected]> | 2015-09-25 08:39:22 +0200 |
commit | 3e70c968de363168fc491ca673a4798284a10c44 (patch) | |
tree | a28aed68b047a17fadd41c12ef045d5bdf4c7bf2 /include | |
parent | 922b3d1bb16b4b6b292cb159e5fe3d0615ca725c (diff) |
nir: modify the instruction insertion in nir_visitor::visit(ir_call *ir)
This patch moves nir_instr_insert_after_cf_list call into each case
in the intrinsics switch at nir_visitor::visit(ir_call *ir) and
define a nir_dest variable which will be used when handling
ir->return_deref after the switch.
This patch simplifies the code for nir_intrinsic_load_ssbo
implementation changes we are going to do next.
Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions