Skip to content

Commit

Permalink
cleanup unused TOperator values
Browse files Browse the repository at this point in the history
  • Loading branch information
aras-p committed Feb 18, 2012
1 parent 930fe3f commit 08434e6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 31 deletions.
11 changes: 0 additions & 11 deletions hlslang/GLSLCodeGen/glslOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}

Expand Down
10 changes: 0 additions & 10 deletions hlslang/Include/intermediate.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
//
Expand Down
10 changes: 0 additions & 10 deletions hlslang/MachineIndependent/intermOut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 08434e6

Please sign in to comment.