glsl: replace null check with assert
authorTimothy Arceri <t_arceri@yahoo.com.au>
Tue, 14 Jul 2015 13:30:27 +0000 (23:30 +1000)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 7 Jan 2016 22:12:45 +0000 (09:12 +1100)
commit5cf156c6b42c03391429ef08542363f7574fd0c9
tree77bcff3b254c5399205db5b3c1e4bfa125dbb7b2
parent051603efd546efea9975a5109910171a2e7853a4
glsl: replace null check with assert

This was added in 54f583a20 since then error handling has improved.

The test this was added to fix now fails earlier since 01822706ec

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/ir_constant_expression.cpp