radeonsi/gfx9: fix gl_ViewportIndex
authorMarek Olšák <marek.olsak@amd.com>
Mon, 1 May 2017 15:34:41 +0000 (17:34 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 3 May 2017 20:58:27 +0000 (22:58 +0200)
commitf466683cb07796fa89f96ef87a6f076218ae6db8
treee9e880519b00a49db954e6e36fbeebb5a2cdc5e0
parentec34632859f0420e0d1912357a96ec280ed87561
radeonsi/gfx9: fix gl_ViewportIndex

v2: remove unnecessary LLVMBuildAnd calls

Cc: 17.1 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_state_shaders.c