d3d8tod3d9shim/ShaderAnalysis.cpp
// Returns true if this opcode is a TEX instruction, or false otherwise

Returns true if this opcode is a TEX instruction, or false otherwise
Returns true if this opcode is a TEX instruction or false otherwise
const bool ShaderInfo::IsOpcodeTexInstruction(const D3DSHADER_INSTRUCTION_OPCODE_TYPE opcode)
{
	if (opcode <= D3DSIO_BREAKP)
		return isOpcodeTexInstruction[opcode];
	else
		return false;
}
const bool ShaderInfo :: IsOpcodeTexInstruction ( const D3DSHADER_INSTRUCTION_OPCODE_TYPE opcode ) { if ( opcode <= D3DSIO_BREAKP ) return isOpcodeTexInstruction [ opcode ] ; else return false ; }
Returns true if this opcode is a TEX instruction, or false otherwise
Returns true if this opcode is a TEX instruction or false otherwise