Added shader validation