diff options
author | Jason Ekstrand <[email protected]> | 2018-03-22 18:48:01 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-06-22 20:15:58 -0700 |
commit | 58799b6a5b3e281365bce91fac2e54903fbd2c41 (patch) | |
tree | 5c3aec35c5ff79d5e1ce41d2923b3018834aea72 /src/intel/Makefile.vulkan.am | |
parent | 3fc3798677545610f624c0887065e9cb6fcc6db2 (diff) |
spirv/cfg: Make the builder fully capable for both walks
We were only initializing vtn_builder::func for the pre-walk where we
build the CFG. We were only initializing the nir_builder for the later
walk through the instructions even though were were setting b->cursor
for the pre-walk. Let's set both both places so that everything is
consistent. This useful because we handle OpFunctionParameter in the
pre-walk and we're going to need to be able to emit instructions.
Acked-by: Rob Clark <[email protected]>
Acked-by: Bas Nieuwenhuizen <[email protected]>
Acked-by: Dave Airlie <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/Makefile.vulkan.am')
0 files changed, 0 insertions, 0 deletions