diff options
author | Eric Anholt <[email protected]> | 2016-08-22 14:58:28 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2016-08-24 10:43:22 -0700 |
commit | 87a88f2daabfe14b12d447b3d96b9f8938c5cf03 (patch) | |
tree | 3a7ec52a504165a353f1eb63001ec7beb53a7763 /src/gallium/drivers/vc4/vc4_qir.h | |
parent | 5277f25480a290b02c7bfe548c56288fce8404b5 (diff) |
vc4: Fix GPU hangs with >16 varying values.
Fixes glsl-routing in piglit and hangs in glbenchmark 2.0.2.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.h')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_qir.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.h b/src/gallium/drivers/vc4/vc4_qir.h index 12b081bc6ab..6b48959d257 100644 --- a/src/gallium/drivers/vc4/vc4_qir.h +++ b/src/gallium/drivers/vc4/vc4_qir.h @@ -494,6 +494,18 @@ struct vc4_compile { uint32_t qpu_inst_size; uint32_t num_inputs; + /** + * Number of inputs from num_inputs remaining to be queued to the read + * FIFO in the VS/CS. + */ + uint32_t num_inputs_remaining; + + /* Number of inputs currently in the read FIFO for the VS/CS */ + uint32_t num_inputs_in_fifo; + + /** Next offset in the VPM to read from in the VS/CS */ + uint32_t vpm_read_offset; + uint32_t program_id; uint32_t variant_id; }; |