v3d: Fix undefined results for a swap_color_rb RT from a float shader output.
authorEric Anholt <eric@anholt.net>
Thu, 7 Jun 2018 04:06:44 +0000 (21:06 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 14 Jun 2018 23:52:25 +0000 (16:52 -0700)
commita40bc33b116cef0b5723489081f7755ccef68d09
tree3c4c77665c4fe778c5129ec5e6479179b644342e
parent600d34c8228b4d5e8468b56a8ba23d82a0790583
v3d: Fix undefined results for a swap_color_rb RT from a float shader output.

Fixes segfaults and undefined behavior in
dEQP-GLES3.functional.fragment_out.basic.fixed.srgb8_alpha8_lowp_float
src/broadcom/compiler/nir_to_vir.c