mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-23 19:29:44 +00:00
Fix two new Windows build warnings/errors
This commit is contained in:
parent
9218759ebb
commit
d5ac538e23
@ -1464,7 +1464,7 @@ Id Builder::createCompositeCompare(Decoration precision, Id value1, Id value2, b
|
||||
Id boolType = makeBoolType();
|
||||
Id valueType = getTypeId(value1);
|
||||
|
||||
Id resultId;
|
||||
Id resultId = NoResult;
|
||||
|
||||
int numConstituents = getNumTypeConstituents(valueType);
|
||||
|
||||
@ -1480,6 +1480,7 @@ Id Builder::createCompositeCompare(Decoration precision, Id value1, Id value2, b
|
||||
op = equal ? OpFOrdEqual : OpFOrdNotEqual;
|
||||
break;
|
||||
case OpTypeInt:
|
||||
default:
|
||||
op = equal ? OpIEqual : OpINotEqual;
|
||||
break;
|
||||
case OpTypeBool:
|
||||
|
Loading…
Reference in New Issue
Block a user