Kaynağa Gözat

i965/fs_nir: Convert the shader to/from SSA

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
tags/10.5-branchpoint
Jason Ekstrand 11 yıl önce
ebeveyn
işleme
63eb32950e
1 değiştirilmiş dosya ile 9 ekleme ve 0 silme
  1. 9
    0
      src/mesa/drivers/dri/i965/brw_fs_nir.cpp

+ 9
- 0
src/mesa/drivers/dri/i965/brw_fs_nir.cpp Dosyayı Görüntüle

@@ -54,6 +54,15 @@ fs_visitor::emit_nir_code()
if (1)
nir_print_shader(nir, stderr);

nir_convert_to_ssa(nir);
nir_copy_prop(nir);
nir_opt_dce(nir);
nir_print_shader(nir, stderr);

nir_convert_from_ssa(nir);
nir_lower_vec_to_movs(nir);
nir_print_shader(nir, stderr);

/* emit the arrays used for inputs and outputs - load/store intrinsics will
* be converted to reads/writes of these arrays
*/

Loading…
İptal
Kaydet