broadcom/vc5: Do 16-bit unpacking of integer texture returns properly.
authorEric Anholt <eric@anholt.net>
Tue, 7 Nov 2017 18:34:42 +0000 (10:34 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 7 Nov 2017 20:58:03 +0000 (12:58 -0800)
commit50906e4583357920b49c78c25787403c5b4836d0
treed4139abe3be88781a507b11ea8a9db66eda8b14f
parent80da60947b65b792edc95671147b00bfe53f9101
broadcom/vc5: Do 16-bit unpacking of integer texture returns properly.

We were doing f16 unpacks, which trashed "1" values.  Fixes many piglit
texwrap GL_EXT_texture_integer cases.
src/broadcom/compiler/nir_to_vir.c