glsl: Add an assert when cloning ir_dereference_record with invalid field
authorDanylo Piliaiev <danylo.piliaiev@gmail.com>
Wed, 15 Aug 2018 12:46:23 +0000 (15:46 +0300)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 19 Sep 2018 22:30:11 +0000 (08:30 +1000)
commit18be7403a11f53d58bbfe3905c0cacd6bc714492
tree4cfd4b8ecfe590acf1ddda69dc2cb68dcc3381b6
parent6f3c7374b11299c21d829db794fad3b756af60fb
glsl: Add an assert when cloning ir_dereference_record with invalid field

Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/glsl/ir_clone.cpp