Skip to content
Commit bb3fdeda authored by Kenneth Graunke's avatar Kenneth Graunke Committed by Bas Nieuwenhuizen
Browse files

compiler: Mark clip/cull distance arrays as compact before lowering.



nir_lower_clip_cull_distance_arrays() marks the combined clip/cull
distance array as compact.  However, when translating in from GLSL
or SPIR-V, we were not marking the original float[] arrays as compact.

We should do so.  That way, we can detect these corner cases properly.

Reviewed-by: default avatarTimothy Arceri <tarceri@itsqueeze.com>
(cherry picked from commit ef99f4c8)
Reviewed-by: default avatarJason Ekstrand <jason@jlekstrand.net>
parent c0509143
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment