SPV: Don't make MissingFunctionality() exit anymore.

This commit is contained in:
John Kessenich
2015-12-21 21:21:11 -07:00
parent 2211835b4d
commit 50e57560a1
3 changed files with 6 additions and 13 deletions

View File

@@ -1369,14 +1369,12 @@ Id Builder::createTextureQueryCall(Op opCode, const TextureParameters& parameter
case Dim2D:
case DimCube:
case DimRect:
case DimSubpassData:
numComponents = 2;
break;
case Dim3D:
numComponents = 3;
break;
case DimSubpassData:
MissingFunctionality("input-attachment dim");
break;
default:
assert(0);
@@ -2251,7 +2249,6 @@ void TbdFunctionality(const char* tbd)
void MissingFunctionality(const char* fun)
{
printf("Missing functionality: %s\n", fun);
exit(1);
}
Builder::Loop::Loop(Builder& builder, bool testFirstArg)