radeonsi: fix culling if clip & cull distances are used at the same time
authorMarek Olšák <marek.olsak@amd.com>
Sun, 13 Nov 2016 17:12:36 +0000 (18:12 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 21 Nov 2016 20:44:35 +0000 (21:44 +0100)
commitd4e9f409e93391fb56b12e6933123198df7ac4bc
tree698bf9cfebfcec2f8caa381e241fe998af1d890d
parent9d8db805ef6d10bc3b7c6a91963c86ab3874ebf8
radeonsi: fix culling if clip & cull distances are used at the same time

Fixed piglits:
- arb_cull_distance/clip-cull-3
- arb_cull_distance/clip-cull-4

Tested-by: Edmondo Tommasina <edmondo.tommasina@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_state.c