ac: fix ac_build_varying_gather_values() for packed layouts
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 19 Jan 2018 05:48:43 +0000 (16:48 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Mon, 22 Jan 2018 23:00:52 +0000 (10:00 +1100)
commit5b9362c2482393888366db38cba04aaf042ba7a8
tree75f5dcf0c64ee9ff70e9d0a6188b69e12d227ec2
parent209b14c2cb99aae13f5c547fb2be5ed6607feef8
ac: fix ac_build_varying_gather_values() for packed layouts

This fixes a segfault for varyings not starting at component 0.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/amd/common/ac_llvm_build.c