radeonsi: fix PIPE_FORMAT_R11G11B10_FLOAT handling
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 29 Apr 2016 21:18:27 +0000 (16:18 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 2 May 2016 16:38:23 +0000 (11:38 -0500)
commit155ce496031888e7d1388c755775233544644eec
tree195c82d7f138759cbd1d9e3b47f3b0d1893cbea3
parent169ace5636defc032ed2a835b5ea7c55631b930f
radeonsi: fix PIPE_FORMAT_R11G11B10_FLOAT handling

That format has first_non_void < 0. This fixes a regression in piglit
arb_shader_image_load_store-semantics that was introduced by commit 76b8c5cc602,
while hopefully still shutting Coverity up (and failing in a more obvious way
if a similar error should re-appear).

Reviewed-by: Jakob Sinclair <sinclair.jakob@openmailbox.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_state.c