nir/lower_clip_cull: Fix an incorrect assert
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 21 Feb 2019 15:53:30 +0000 (09:53 -0600)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 21 Feb 2019 18:05:12 +0000 (12:05 -0600)
commitf98fd9d15a9a79ff1b41f1fce27bc285a20aa5bb
treeabe5b0c04d7e1b5888bcf0d88d3f3c4aa4f5c800
parentf9b2f10a4115b0fef8e7731b5902235c1ec98bcf
nir/lower_clip_cull: Fix an incorrect assert

Copy+paste error.  It was supposed to test cull and not clip.

Fixes: 4e69fba534e "nir: Rewrite lower_clip_cull_distance_arrays..."
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109717
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/compiler/nir/nir_lower_clip_cull_distance_arrays.c