summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_phi_builder.h
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2017-10-13 09:22:54 +0200
committerIago Toral Quiroga <[email protected]>2017-10-19 08:31:42 +0200
commit16631ca30ea6d6eec8101f07d97a55b2210026e8 (patch)
tree0f6ac3ca939f97064f6d8c872be9e0d24364c268 /src/compiler/nir/nir_phi_builder.h
parentb7c655f700d5e12d3cd81b1cb66fce17019f934d (diff)
i965/sbe: fix active components for SSO programs with over 16 inputs
When we have up to 16 FS inputs, the SF unit will reorder our inputs to be consecutive, however, when we have more than 16 we need to to read our inputs from the URB exactly as they have been output from the previous stage. This means that for SSO we have to consider if we have URB padding due to unused input locations. Specifically, this affects gen9 active components programming, since for things to work in scenarios with over 16 inputs that have padded regions we need to ensure that we program active components for the padded regions too. If we don't do this the hardware won't read the URB properly for inputs located after padded regions. Found empirically. Fixes (these also require a patch in CTS): KHR-GL45.enhanced_layouts.varying_locations KHR-GL45.enhanced_layouts.varying_array_locations Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_phi_builder.h')
0 files changed, 0 insertions, 0 deletions