instr = ir2_instr_create_alu(cf, ~0, RECIPSQ_IEEE);
add_regs_scalar_1(ctx, inst, instr);
break;
+ case TGSI_OPCODE_SQRT:
+ instr = ir2_instr_create_alu(cf, ~0, SQRT_IEEE);
+ add_regs_scalar_1(ctx, inst, instr);
+ break;
case TGSI_OPCODE_MUL:
instr = ir2_instr_create_alu(cf, MULv, ~0);
add_regs_vector_2(ctx, inst, instr);
case PIPE_SHADER_CAP_SUBROUTINES:
return 0;
case PIPE_SHADER_CAP_TGSI_SQRT_SUPPORTED:
+ return 1;
case PIPE_SHADER_CAP_INTEGERS:
+ /* we should be able to support this on a3xx, but not
+ * implemented yet:
+ */
return 0;
case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS:
return 16;