ac/cull: don't read Position.Z if it's not needed for culling
authorMarek Olšák <marek.olsak@amd.com>
Tue, 7 Jan 2020 00:19:40 +0000 (19:19 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 15 Jan 2020 20:06:20 +0000 (15:06 -0500)
commiteeb4a11c1123c34b4d1c55540f575f6b474f7d08
tree408e7a1ebeb6acf660c05086d43302582dc6e2a3
parent8070402a3043edb34000b1d410f9b73ab45ae686
ac/cull: don't read Position.Z if it's not needed for culling

It could be NULL.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
src/amd/llvm/ac_llvm_cull.c