mirror of
https://github.com/openharmony/third_party_glslang.git
synced 2026-07-01 06:41:53 -04:00
@@ -535,6 +535,8 @@ bool TIntermediate::isConversionAllowed(TOperator op, TIntermTyped* node) const
|
||||
//
|
||||
// Does the base type even allow the operation?
|
||||
//
|
||||
if (!node)
|
||||
return false;
|
||||
switch (node->getBasicType()) {
|
||||
case EbtVoid:
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user