diff options
author | Jason Ekstrand <[email protected]> | 2018-12-13 18:33:46 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-01-08 00:38:29 +0000 |
commit | f8992eb5badf91e0d9ad3732d56a4e3d78fd1abf (patch) | |
tree | bc18ba3458fa2f55a200611aeee4c6e4f6a59172 /src/compiler/spirv/vtn_cfg.c | |
parent | 42b2f3e91f6d6c4eead40ef91e5edde68019f23c (diff) |
anv/apply_pipeline_layout: Set the cursor in lower_res_reindex_intrinsic
The loop through instructions doesn't set the cursor for us so unless we
set it somewhere, we may end up emitting instructions in the wrong
place. The only reason why we haven't been bitten by this in the past
is that it only happens in a few variable pointers cases and the CTS
tests for those don't use much control flow so things were getting
emitted in the correct order by accident.
Cc: [email protected]
Reviewed-by: Alejandro PiƱeiro <[email protected]>
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/compiler/spirv/vtn_cfg.c')
0 files changed, 0 insertions, 0 deletions