diff options
author | Jason Ekstrand <[email protected]> | 2015-09-08 15:18:01 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-09-17 08:19:48 -0700 |
commit | a6c467d6c574baf6636814b51f1dafe2557e22f6 (patch) | |
tree | 75e43b9a5794cea129636092620725f299af3e9e /src/glsl/nir/nir.h | |
parent | ddffe30f404b7dffef2b90879023433ecc7df3e3 (diff) |
nir: Add a pass to rewrite uses of vecN sources to the vecN destination
v2 (Jason Ekstrand):
- Handle non-SSA sources and destinations
Reviewed-by: Eduardo Lima Mitev <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r-- | src/glsl/nir/nir.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h index 37d36822679..f64bb2837c3 100644 --- a/src/glsl/nir/nir.h +++ b/src/glsl/nir/nir.h @@ -1825,6 +1825,7 @@ void nir_lower_vars_to_ssa(nir_shader *shader); void nir_remove_dead_variables(nir_shader *shader); +void nir_move_vec_src_uses_to_dest(nir_shader *shader); void nir_lower_vec_to_movs(nir_shader *shader); void nir_lower_alu_to_scalar(nir_shader *shader); void nir_lower_load_const_to_scalar(nir_shader *shader); |