diff options
author | Eric Anholt <[email protected]> | 2015-07-29 15:52:18 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-07-30 15:47:11 -0700 |
commit | b85f6ae4b24ee50948f14a9effa982eb0b9b3681 (patch) | |
tree | 7e6c9986dff7abce7abc582a305947e804f7877d /src/gallium/drivers/vc4/vc4_qir.h | |
parent | c93ffd661a46f0f6d20c9ec2e97d4d9393e28111 (diff) |
vc4: Start adding a NIR-based output lowering pass.
For now, this just splits up store_output intrinsics to be scalars, and
drops unused outputs in the coordinate shader. My goal is to be able to
drop a bunch of my VC4-specific optimization by letting NIR handle it.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.h')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_qir.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.h b/src/gallium/drivers/vc4/vc4_qir.h index 2f1e261f880..7e1c95d5cab 100644 --- a/src/gallium/drivers/vc4/vc4_qir.h +++ b/src/gallium/drivers/vc4/vc4_qir.h @@ -409,6 +409,7 @@ bool qir_opt_cse(struct vc4_compile *c); bool qir_opt_dead_code(struct vc4_compile *c); bool qir_opt_small_immediates(struct vc4_compile *c); bool qir_opt_vpm_writes(struct vc4_compile *c); +void vc4_nir_lower_io(struct vc4_compile *c); void qir_lower_uniforms(struct vc4_compile *c); void qpu_schedule_instructions(struct vc4_compile *c); |