Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cleanup unused TOperator values

  • Loading branch information...
commit 08434e6c794f23ef03e8cf98969b27cc571eabb9 1 parent 930fe3f
@aras-p authored
View
11 hlslang/GLSLCodeGen/glslOutput.cpp
@@ -1335,17 +1335,6 @@ bool TGlslOutputTraverser::traverseAggregate( bool preVisit, TIntermAggregate *n
writeFuncCall( "xll_lit", node, goit);
break;
- case EOpItof:
- case EOpFtoi:
- case EOpSkipPixels:
- case EOpReadInput:
- case EOpWritePixel:
- case EOpBitmapLsb:
- case EOpBitmapMsb:
- case EOpWriteOutput:
- case EOpReadPixel:
- // These are are all impossible
-
default: goit->infoSink.info << "Bad aggregation op\n";
}
View
10 hlslang/Include/intermediate.h
@@ -178,16 +178,6 @@ enum TOperator
EOpAny,
EOpAll,
- EOpItof, // pack/unpack only
- EOpFtoi, // pack/unpack only
- EOpSkipPixels, // pack/unpack only
- EOpReadInput, // unpack only
- EOpWritePixel, // unpack only
- EOpBitmapLsb, // unpack only
- EOpBitmapMsb, // unpack only
- EOpWriteOutput, // pack only
- EOpReadPixel, // pack only
-
//
// Branch
//
View
10 hlslang/MachineIndependent/intermOut.cpp
@@ -295,16 +295,6 @@ bool OutputAggregate(bool, /* preVisit */ TIntermAggregate* node, TIntermTravers
case EOpRefract: out.debug << "refract"; break;
case EOpMul: out.debug << "mul"; break;
- case EOpItof: out.debug << "itof"; break;
- case EOpFtoi: out.debug << "ftoi"; break;
- case EOpSkipPixels: out.debug << "skipPixels"; break;
- case EOpReadInput: out.debug << "readInput"; break;
- case EOpWritePixel: out.debug << "writePixel"; break;
- case EOpBitmapLsb: out.debug << "bitmapLSB"; break;
- case EOpBitmapMsb: out.debug << "bitmapMSB"; break;
- case EOpWriteOutput: out.debug << "writeOutput"; break;
- case EOpReadPixel: out.debug << "readPixel"; break;
-
case EOpTex1D: out.debug << "tex1D"; break;
case EOpTex1DProj: out.debug << "tex1Dproj"; break;
case EOpTex1DLod: out.debug << "tex1Dlod"; break;
Please sign in to comment.
Something went wrong with that request. Please try again.