compiler/glsl: do not downcast list sentinel
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sat, 30 Apr 2016 06:36:59 +0000 (01:36 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Sat, 7 May 2016 21:46:58 +0000 (16:46 -0500)
commit945c6887ab43a98a6e042841b2fb547aaef250e2
treedf666df2f4685ffb710270666f70210a9b49320f
parentbdad1393a04bd1c2ad99ed62978849796db162ed
compiler/glsl: do not downcast list sentinel

This crashes gcc's undefined behaviour sanitizer.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/compiler/glsl/ir.cpp