v3d: refactor ntq_emit_tmu_general() slightly
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 6 Aug 2019 10:18:17 +0000 (12:18 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Tue, 13 Aug 2019 06:38:19 +0000 (08:38 +0200)
commit3d65d2a4883bcf0cdc2eb3a2eeafda1d3c784b9b
treebcfb4305166cb3417831147d7b4d4424bea13f42
parentb594796f1b86952268372622ba844210fa54f6e5
v3d: refactor ntq_emit_tmu_general() slightly

When we implement write masks on store operations we might need to
emit multiple write sequences for a given store intrinsic. To make
that easier, let's split the emission of the tmud instructions to
their own block after we are done with the code that only needs to
run once no matter how many write sequences we need to emit.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/broadcom/compiler/nir_to_vir.c