radv/ac: handle clip/cull distance sizing in geometry shader outputs
authorDave Airlie <airlied@redhat.com>
Wed, 1 Feb 2017 01:10:49 +0000 (11:10 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 1 Feb 2017 22:25:04 +0000 (08:25 +1000)
commitfa316ed02ff0c2c4c8121380d23f2e66ac87649f
treec48de63bd38f6d5044f3c79f00002c936a97e1bf
parent230e308ff9a1d6ac6519db70d4e3038c2c948088
radv/ac: handle clip/cull distance sizing in geometry shader outputs

Otherwise we were writing these as 4 components, and things went bad.

Fixes (the remaining):
dEQP-VK.clipping.user_defined.*.vert_geom.*

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c