diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2018-06-26 15:46:53 -0700 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2018-07-16 16:33:39 -0700 |
commit | ba1b41b504b9e3867cf4589a55fb69ab4441f041 (patch) | |
tree | d040ed8b14c066cdc5c15bc4f4b0d083c734070c /src/gallium/drivers/virgl/virgl_encode.c | |
parent | d7849fd1dafafa3489e0be389dabb09502dae26e (diff) |
glsl: do second pass of const propagation in loops
When handling loops in constant propagation, implement the "FINISHME"
comment like copy propagation: perform a first pass to find values
that can't be propagated, then perform a second pass with the ACP
containing still valid values.
Certain values are killed because the loop may run more than one
iteration, so we can't copy propagate them as they would be invalid in
the later iterations.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_encode.c')
0 files changed, 0 insertions, 0 deletions