summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/v3d/v3d_program.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2018-05-17 15:04:08 -0400
committerJason Ekstrand <[email protected]>2018-06-22 20:54:00 -0700
commit3d19f116ad59e6f876c6322d8d15c26295fe9a91 (patch)
treec683db4ea628b22bc344c9d6944a1b5facd99d62 /src/gallium/drivers/v3d/v3d_program.c
parent3e8879be5c28173c11b5268c7f7cb5a4e5b8072b (diff)
st,ir3,radeonsi: push lower_deref_instrs back into driver
vc4+vc5 is not really effected by the deref chain to deref instr conversion, so it no longer needs this pass. For others, now that all the passes mesa/st uses are using deref instructions, push the lowering to deref chains back into driver. Signed-off-by: Rob Clark <[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/gallium/drivers/v3d/v3d_program.c')
-rw-r--r--src/gallium/drivers/v3d/v3d_program.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/v3d/v3d_program.c b/src/gallium/drivers/v3d/v3d_program.c
index 55c6dc071a2..ef7dd375bf7 100644
--- a/src/gallium/drivers/v3d/v3d_program.c
+++ b/src/gallium/drivers/v3d/v3d_program.c
@@ -209,7 +209,6 @@ v3d_shader_state_create(struct pipe_context *pctx,
fprintf(stderr, "\n");
}
s = tgsi_to_nir(cso->tokens, &v3d_nir_options);
- NIR_PASS_V(s, nir_lower_deref_instrs, ~0);
so->was_tgsi = true;
}