return -1;
}
procType = parse.FullHeader.Processor.Processor;
- assert(procType == PIPE_SHADER_FRAGMENT ||
- procType == PIPE_SHADER_VERTEX ||
- procType == PIPE_SHADER_GEOMETRY);
-
/**
** Setup output shader
{
struct tgsi_full_instruction *fullinst
= &parse.FullToken.FullInstruction;
- unsigned opcode = fullinst->Instruction.Opcode;
+ enum tgsi_opcode opcode = fullinst->Instruction.Opcode;
if (first_instruction && ctx->prolog) {
ctx->prolog(ctx);