v3d: Fix image_load_store clamping of signed integer stores.
authorEric Anholt <eric@anholt.net>
Wed, 30 Jan 2019 19:17:35 +0000 (11:17 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 31 Jan 2019 16:39:40 +0000 (08:39 -0800)
commitab4d5775b0decad7df56245cecad63912ed62b4c
tree023c4d56f6b74ba8ebe7346c80632accf4d989e5
parentdb2ae51121067b66d4ee8313ba7f74cecb201a03
v3d: Fix image_load_store clamping of signed integer stores.

This was copy-and-paste fail, that oddly showed up in the CTS's
reinterprets of r32f, rgba8, and srgba8 to rgba8i, but not r32ui and r32i
to rgba8i or reinterprets to other signed int formats.

Fixes: 6281f26f064a ("v3d: Add support for shader_image_load_store.")
src/broadcom/compiler/v3d_nir_lower_image_load_store.c