freedreno/ir3: fix shader variants vs UBO analysis
authorRob Clark <robdclark@chromium.org>
Wed, 1 May 2019 17:41:51 +0000 (10:41 -0700)
committerRob Clark <robdclark@chromium.org>
Thu, 2 May 2019 18:19:22 +0000 (11:19 -0700)
commit32925f407248dfdd6994523d7a895112da8a82ae
treef6e3769aac1cb2f5883d088a33fbafe3475281c4
parentff4168c4186d93c00fe7a5d13c28bbaff734b3a0
freedreno/ir3: fix shader variants vs UBO analysis

Otherwise we zero out the state again, but all the UBO loads that we
could lower are already lowered.  End result is that we didn't emit the
uniforms for lowered UBO access in any case where multiple shader
variants are used.

Fixes: 893425a607a freedreno/ir3: Push UBOs to constant file
Fixes: 3c8779af325 freedreno/ir3: Enable PIPE_CAP_PACKED_UNIFORMS
Signed-off-by: Rob Clark <robdclark@chromium.org>
src/freedreno/ir3/ir3_nir.c