glsl: turn runtime asserts of compile-time value into compile-time asserts
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 24 Sep 2019 15:58:31 +0000 (16:58 +0100)
committerEric Engestrom <eric@engestrom.ch>
Wed, 25 Sep 2019 21:14:52 +0000 (21:14 +0000)
commitb3e3af0e374c5db0e6f74c3963d28b39c9fc286c
tree1ddfad720ec23cece9174135fca616690c3c90ed
parentae8a7d5c8faf6b1688d85e7ee8bb8965de326949
glsl: turn runtime asserts of compile-time value into compile-time asserts

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
src/compiler/glsl/ir_constant_expression.cpp