diff options
author | Eric Anholt <[email protected]> | 2018-09-10 08:19:48 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-12-07 16:48:23 -0800 |
commit | 42652ea51e643af9dfa0f1f7409b473b95d0a406 (patch) | |
tree | 9b9f53aa7b03012e7acde4935741a5e1f66e66b0 /src/broadcom/compiler/v3d_compiler.h | |
parent | fb9bcf5602b96e4b40ab58e98235678668b10a9a (diff) |
v3d: Use combined input/output segments.
The HW apparently has some issues (or at least a much more complicated VCM
calculation) with non-combined segments, and the closed source driver also
uses combined I/O. Until I get the last CTS failure resolved (which does
look plausibly like some VPM stomping), let's use combined I/O too.
Diffstat (limited to 'src/broadcom/compiler/v3d_compiler.h')
-rw-r--r-- | src/broadcom/compiler/v3d_compiler.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/broadcom/compiler/v3d_compiler.h b/src/broadcom/compiler/v3d_compiler.h index 070e6a3aa59..1e899393441 100644 --- a/src/broadcom/compiler/v3d_compiler.h +++ b/src/broadcom/compiler/v3d_compiler.h @@ -649,6 +649,11 @@ struct v3d_vs_prog_data { /* Total number of components written, for the shader state record. */ uint32_t vpm_output_size; + /* Set if there should be separate VPM segments for input and output. + * If unset, vpm_input_size will be 0. + */ + bool separate_segments; + /* Value to be programmed in VCM_CACHE_SIZE. */ uint8_t vcm_cache_size; }; |