aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/ir3/ir3_nir.c
diff options
context:
space:
mode:
authorKristian H. Kristensen <[email protected]>2020-04-28 12:29:46 -0700
committerMarge Bot <[email protected]>2020-05-01 16:26:31 +0000
commitb7bfccf08509ada02c3f5c2992f9983b7f5fc7a7 (patch)
treeb194beebcc9d44f32b92b761519b7818e753bba8 /src/freedreno/ir3/ir3_nir.c
parenta16ee14f37fca71c0c14d468db690aa410ac4ce4 (diff)
freedreno/ir3: Rename ir3_nir_lower_to_explicit_io
We rename it to ir3_nir_lower_to_explicit_output, since it only handles output and we'll add a lowering pass for input next. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4562>
Diffstat (limited to 'src/freedreno/ir3/ir3_nir.c')
-rw-r--r--src/freedreno/ir3/ir3_nir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/freedreno/ir3/ir3_nir.c b/src/freedreno/ir3/ir3_nir.c
index c40fb43f82d..26035501e35 100644
--- a/src/freedreno/ir3/ir3_nir.c
+++ b/src/freedreno/ir3/ir3_nir.c
@@ -222,7 +222,7 @@ ir3_optimize_nir(struct ir3_shader *shader, nir_shader *s,
if (key && (key->has_gs || key->tessellation)) {
switch (shader->type) {
case MESA_SHADER_VERTEX:
- NIR_PASS_V(s, ir3_nir_lower_to_explicit_io, shader, key->tessellation);
+ NIR_PASS_V(s, ir3_nir_lower_to_explicit_output, shader, key->tessellation);
break;
case MESA_SHADER_TESS_CTRL:
NIR_PASS_V(s, ir3_nir_lower_tess_ctrl, shader, key->tessellation);
@@ -230,7 +230,7 @@ ir3_optimize_nir(struct ir3_shader *shader, nir_shader *s,
case MESA_SHADER_TESS_EVAL:
NIR_PASS_V(s, ir3_nir_lower_tess_eval, key->tessellation);
if (key->has_gs)
- NIR_PASS_V(s, ir3_nir_lower_to_explicit_io, shader, key->tessellation);
+ NIR_PASS_V(s, ir3_nir_lower_to_explicit_output, shader, key->tessellation);
break;
case MESA_SHADER_GEOMETRY:
NIR_PASS_V(s, ir3_nir_lower_gs, shader);