diff options
author | Jason Ekstrand <[email protected]> | 2018-04-06 22:34:57 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-06-22 21:23:06 -0700 |
commit | aef4213fca6a8e6d0c6f3b0abeabd878e0c1d351 (patch) | |
tree | 090c535cb139e5f0e8765263a78be4f99589922e /src/compiler/nir/nir_control_flow.c | |
parent | a331d7d1cdfdc971f707fb6b1f71edbad622c804 (diff) |
nir/lower_system_values: Assert/assume direct var derefs
System values are never arrays or structs so we can assume a direct var
deref. This simplifies things a bit and prevents us from accidentally
throwing away an array index.
Suggested-by: Caio Marcelo de Oliveira Filho <[email protected]>
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
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/compiler/nir/nir_control_flow.c')
0 files changed, 0 insertions, 0 deletions