anv: correct a duplicate check in an assert
authorGrazvydas Ignotas <notasas@gmail.com>
Mon, 22 Jan 2018 22:44:36 +0000 (00:44 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Wed, 24 Jan 2018 23:10:45 +0000 (01:10 +0200)
commit0cc7370733e9d20999d13c4c8565f0c91846a45c
treec78c5c8f7d5bbc23f250facb7ea02e2783f515b5
parenta2a1b0e75ef9adeb17468509c5f6331b42f6dc2e
anv: correct a duplicate check in an assert

Looks like checking both sources was intended, instead of the first one
twice. Found with Coccinelle, coccinellery/xand/xand.cocci semantic patch.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/intel/vulkan/anv_nir_apply_pipeline_layout.c