lima/ppir: validate shader outputs
authorVasily Khoruzhick <anarsoul@gmail.com>
Fri, 23 Aug 2019 04:17:23 +0000 (21:17 -0700)
committerVasily Khoruzhick <anarsoul@gmail.com>
Sat, 24 Aug 2019 15:17:25 +0000 (08:17 -0700)
commitd30a98c89635316bd445264cafb18283a1eb83df
tree8f44a506ee9b4fc228323ad7cb146b19aa86b660
parent8dd195e86570138684910a646e23e70284eacdf2
lima/ppir: validate shader outputs

Mali4x0 supports only gl_FragColor. gl_FragDepth is not supported.
Check that we don't get anything but gl_FragColor in shader outputs.

Reviewed-by: Qiang Yu <yuq825@gmail.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/ir/pp/nir.c