lima/ppir: abort compilation in case of unsupported intrinsic
authorErico Nunes <nunes.erico@gmail.com>
Sun, 5 May 2019 08:53:33 +0000 (10:53 +0200)
committerErico Nunes <nunes.erico@gmail.com>
Mon, 6 May 2019 15:15:27 +0000 (17:15 +0200)
commit11602ccd5dfa6c98400a484cae8d3221f325da6d
treeeeadbbbfbf9d27122cef20e5b23ecd293b357da2
parent60a128fe8172826837fd6f91ae323aaa07ba7607
lima/ppir: abort compilation in case of unsupported intrinsic

Currently ppir continues compilation when there is an unsupported
intrinsic, resulting in a shader that will surely not work as intended.

This is a problem during piglit runs as some tests don't compile
properly due to this but actually still get submitted to the gpu and
leave the system in an unstable state after executing, causing further
tests to fail.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
src/gallium/drivers/lima/ir/pp/nir.c