ac/surface: set structure size and handle errors for AddrComputeBaseSwizzle
authorMarek Olšák <marek.olsak@amd.com>
Fri, 28 Jul 2017 21:53:19 +0000 (23:53 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 4 Aug 2017 00:10:04 +0000 (02:10 +0200)
commit6fb382d9fbbdb2ac20adadd7ef305f9d8f8b4cad
treed1f9a6c3b595d764611a9c8a8176258ee0319a78
parent59144d4bf5e49cb4085ae723b7e77715922abd61
ac/surface: set structure size and handle errors for AddrComputeBaseSwizzle

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/amd/common/ac_surface.c