diff options
author | Eric Anholt <[email protected]> | 2018-03-21 15:18:34 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-03-26 17:33:37 -0700 |
commit | 9e62aec9cd4853016b4d03a56b5756111a312d65 (patch) | |
tree | 65811ff82aa3c321a2c627112855db372ed484ca /src/gallium/drivers/vc5/vc5_context.h | |
parent | 0356db022da819176d9d0eacab63d4c2c852f876 (diff) |
broadcom/vc5: Limit each transform feedback data spec to 16 dwords.
The length-1 field only has 4 bits, so we need to generate separate specs
when there's too much TF output per buffer.
Fixes
GTF-GLES3.gtf.GL3Tests.transform_feedback.transform_feedback_builtin_type
and transform_feedback_max_interleaved.
Diffstat (limited to 'src/gallium/drivers/vc5/vc5_context.h')
-rw-r--r-- | src/gallium/drivers/vc5/vc5_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc5/vc5_context.h b/src/gallium/drivers/vc5/vc5_context.h index 1ab5a6b1532..976fba90f81 100644 --- a/src/gallium/drivers/vc5/vc5_context.h +++ b/src/gallium/drivers/vc5/vc5_context.h @@ -130,7 +130,7 @@ struct vc5_uncompiled_shader { struct pipe_shader_state base; uint32_t num_tf_outputs; struct v3d_varying_slot *tf_outputs; - uint16_t tf_specs[PIPE_MAX_SO_BUFFERS]; + uint16_t tf_specs[16]; uint32_t num_tf_specs; /** |