File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
glslang/MachineIndependent Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -371,13 +371,13 @@ struct TSymbolValidater
371
371
}
372
372
else if (overlapLocation >= 0 ) {
373
373
if (diffLocation == true ) {
374
- TString err = " Uniform location should be equal for same uniforms: " + overlapLocation;
374
+ TString err = ( " Uniform location should be equal for same uniforms: " +std::to_string ( overlapLocation)). c_str () ;
375
375
infoSink.info .message (EPrefixInternalError, err.c_str ());
376
376
hadError = true ;
377
377
break ;
378
378
}
379
379
else {
380
- TString err = " Uniform location overlaps across stages: " + overlapLocation;
380
+ TString err = ( " Uniform location overlaps across stages: " + std::to_string ( overlapLocation)). c_str () ;
381
381
infoSink.info .message (EPrefixInternalError, err.c_str ());
382
382
hadError = true ;
383
383
break ;
@@ -626,8 +626,8 @@ struct TSymbolValidater
626
626
const TQualifier& qualifier1 = type1->getQualifier ();
627
627
const TQualifier& qualifier2 = type2->getQualifier ();
628
628
629
- if (isBlock == false &&
630
- (type1->getQualifier ().storage == EvqUniform && type2->getQualifier ().storage == EvqUniform) ||
629
+ if ((( isBlock == false ) &&
630
+ (type1->getQualifier ().storage == EvqUniform && type2->getQualifier ().storage == EvqUniform)) ||
631
631
(type1->getQualifier ().storage == EvqGlobal && type2->getQualifier ().storage == EvqGlobal)) {
632
632
if (qualifier1.precision != qualifier2.precision ) {
633
633
hasError = true ;
You can’t perform that action at this time.
0 commit comments