d3d8tod3d9shim/ShaderAnalysis.cpp
// Returns the name of the function that this opcode maps to

Returns the name of the function that this opcode maps to
Returns the name of the function that this opcode maps to
const char* const ShaderInfo::GetOpcodeFunctionString(const D3DSHADER_INSTRUCTION_OPCODE_TYPE opcode)
{
	if (opcode <= D3DSIO_BREAKP)
		return opcodeToFunction[opcode];
	else
		return "function_not_found";
}
const char * const ShaderInfo :: GetOpcodeFunctionString ( const D3DSHADER_INSTRUCTION_OPCODE_TYPE opcode ) { if ( opcode <= D3DSIO_BREAKP ) return opcodeToFunction [ opcode ] ; else return " " ; }
Returns the name of the function that this opcode maps to
Returns the name of the function that this opcode maps to