Lines Matching refs:imm
318 if (sx->clip_distance_mapping[0].d3d == operand->base.index[0].imm) {
321 assert(sx->clip_distance_mapping[1].d3d == operand->base.index[0].imm);
326 if (sx->cull_distance_mapping[0].d3d == operand->base.index[0].imm) {
329 assert(sx->cull_distance_mapping[1].d3d == operand->base.index[0].imm);
429 unsigned idx = operand->base.index[0].imm;
493 assert(dst->base.index[0].imm < SHADER_MAX_INPUTS);
495 reg = ureg_DECL_vs_input(ureg, dst->base.index[0].imm);
497 dcl_base_input(sx, ureg, dst, reg, dst->base.index[0].imm,
507 assert(dst->base.index[1].imm < SHADER_MAX_INPUTS);
509 declare_vertices_in(sx, dst->base.index[0].imm);
513 if (!sx->inputs[dst->base.index[1].imm].reg.File) {
517 dst->base.index[1].imm,
519 dcl_base_input(sx, ureg, dst, reg, dst->base.index[1].imm,
538 assert(dst->base.index[0].imm < SHADER_MAX_INPUTS);
542 dcl_base_input(sx, ureg, dst, reg, dst->base.index[0].imm,
554 assert(dst->base.index[1].imm < SHADER_MAX_INPUTS);
556 declare_vertices_in(sx, dst->base.index[0].imm);
562 dcl_base_input(sx, ureg, dst, reg, dst->base.index[1].imm,
574 assert(dst->base.index[0].imm < SHADER_MAX_INPUTS);
578 dst->base.index[0].imm,
581 dcl_base_input(sx, ureg, dst, reg, dst->base.index[0].imm,
593 assert(dst->base.index[0].imm < SHADER_MAX_INPUTS);
622 dcl_base_input(sx, ureg, dst, reg, dst->base.index[0].imm,
634 assert(dst->base.index[0].imm < SHADER_MAX_INPUTS);
652 dcl_base_input(sx, ureg, dst, reg, dst->base.index[0].imm,
664 assert(operand->index[0].imm < SHADER_MAX_TEMPS);
666 reg = ureg_src(sx->temps[sx->temp_offset + operand->index[0].imm]);
674 assert(operand->index[1].imm < SHADER_MAX_TEMPS);
676 reg = ureg_src(sx->temps[sx->indexable_temp_offsets[operand->index[0].imm] +
677 operand->index[1].imm]);
717 assert(operand->index[0].imm < SHADER_MAX_TEMPS);
719 reg = sx->temps[sx->temp_offset + operand->index[0].imm];
724 assert(operand->index[0].imm < SHADER_MAX_OUTPUTS);
728 reg = sx->outputs[operand->index[0].imm].reg[0];
734 reg = sx->outputs[operand->index[0].imm].reg[i];
743 reg = ureg_dst_indirect(sx->outputs[operand->index[0].imm].reg[0], addr);
788 sx->temps[sx->indexable_temp_offsets[operand->index[0].imm] +
789 operand->index[1].imm]);
794 sx->indexable_temp_offsets[operand->index[0].imm]]),
801 operand->index[1].imm +
802 sx->indexable_temp_offsets[operand->index[0].imm]]),
834 assert(operand->base.index[0].imm < SHADER_MAX_INDEXABLE_TEMPS);
867 assert(operand->base.index[0].imm < SHADER_MAX_INPUTS);
868 reg = sx->inputs[operand->base.index[0].imm].reg;
879 reg = ureg_src_indirect(sx->inputs[operand->base.index[0].imm].reg, tmp);
890 assert(operand->base.index[1].imm < SHADER_MAX_INPUTS);
894 reg = sx->inputs[operand->base.index[1].imm].reg;
905 reg = ureg_src_indirect(sx->inputs[operand->base.index[1].imm].reg, tmp);
916 reg = ureg_src_dimension(reg, operand->base.index[0].imm);
927 reg = ureg_src_dimension_indirect(reg, tmp, operand->base.index[0].imm);
941 assert(operand->base.index[0].imm < SHADER_MAX_INDEXABLE_TEMPS);
950 operand->imm[0].f32,
951 operand->imm[1].f32,
952 operand->imm[2].f32,
953 operand->imm[3].f32);
957 operand->imm[0].i32,
958 operand->imm[1].i32,
959 operand->imm[2].i32,
960 operand->imm[3].i32);
964 operand->imm[0].u32,
965 operand->imm[1].u32,
966 operand->imm[2].u32,
967 operand->imm[3].u32);
978 assert(operand->base.index[0].imm < SHADER_MAX_SAMPLERS);
980 reg = sx->samplers[operand->base.index[0].imm];
986 assert(operand->base.index[0].imm < SHADER_MAX_RESOURCES);
988 reg = sx->sv[operand->base.index[0].imm];
995 assert(operand->base.index[0].imm < PIPE_MAX_CONSTANT_BUFFERS);
999 assert(operand->base.index[1].imm < SHADER_MAX_CONSTS);
1001 reg = ureg_src_register(TGSI_FILE_CONSTANT, operand->base.index[1].imm);
1002 reg = ureg_src_dimension(reg, operand->base.index[0].imm);
1006 reg = ureg_src_register(TGSI_FILE_CONSTANT, operand->base.index[1].imm);
1010 reg = ureg_src_dimension(reg, operand->base.index[0].imm);
1026 reg.Index += operand->base.index[0].imm;
1031 reg.Index += operand->base.index[0].imm;
1395 unsigned resource = opcode.src[1].base.index[0].imm;
1397 assert(opcode.src[1].base.index[0].imm < SHADER_MAX_RESOURCES);
1436 unsigned resource = opcode.src[1].base.index[0].imm;
1438 assert(opcode.src[1].base.index[0].imm < SHADER_MAX_RESOURCES);
1490 unsigned res_index = opcode.src[1].base.index[0].imm;
1518 assert(opcode.src[1].base.index[0].imm < SHADER_MAX_RESOURCES);
1520 LOG_UNSUPPORTED(opcode.src[1].base.index[0].imm != opcode.src[2].base.index[0].imm);
1525 sx.resources[opcode.src[1].base.index[0].imm].target,
1551 LOG_UNSUPPORTED(sx.resources[opcode.src[1].base.index[0].imm].target !=
1555 assert(opcode.src[1].base.index[0].imm < SHADER_MAX_RESOURCES);
1572 sx.resources[opcode.src[1].base.index[0].imm].target,
1597 assert(opcode.src[1].base.index[0].imm < SHADER_MAX_RESOURCES);
1604 LOG_UNSUPPORTED(sx.resources[opcode.src[1].base.index[0].imm].target !=
1623 sx.resources[opcode.src[1].base.index[0].imm].target,
1648 assert(opcode.src[1].base.index[0].imm < SHADER_MAX_RESOURCES);
1662 sx.resources[opcode.src[1].base.index[0].imm].target,
1685 assert(opcode.src[1].base.index[0].imm < SHADER_MAX_RESOURCES);
1690 sx.resources[opcode.src[1].base.index[0].imm].target,
1716 assert(opcode.src[1].base.index[0].imm < SHADER_MAX_RESOURCES);
1730 sx.resources[opcode.src[1].base.index[0].imm].target,
1825 unsigned res_index = opcode.dst[0].base.index[0].imm;
1843 unsigned num_constants = opcode.src[0].base.index[1].imm;
1845 assert(opcode.src[0].base.index[0].imm < PIPE_MAX_CONSTANT_BUFFERS);
1856 opcode.src[0].base.index[0].imm);
1862 assert(opcode.dst[0].base.index[0].imm < SHADER_MAX_SAMPLERS);
1864 sx.samplers[opcode.dst[0].base.index[0].imm] =
1866 opcode.dst[0].base.index[0].imm);
2000 assert(opcode.dst[0].base.index[0].imm < SHADER_MAX_OUTPUTS);
2005 opcode.dst[0].base.index[0].imm),
2010 assert(opcode.dst[0].base.index[0].imm < SHADER_MAX_OUTPUTS);
2015 = opcode.dst[0].base.index[0].imm;
2020 opcode.dst[0].base.index[0].imm),
2027 assert(opcode.dst[0].base.index[0].imm < SHADER_MAX_OUTPUTS);
2032 = opcode.dst[0].base.index[0].imm;
2046 opcode.dst[0].base.index[0].imm;
2060 opcode.dst[0].base.index[0].imm;
2081 assert(opcode.dst[0].base.index[0].imm < SHADER_MAX_OUTPUTS);
2086 = opcode.dst[0].base.index[0].imm;
2173 unsigned label = opcode.src[1].base.index[0].imm;
2193 unsigned label = opcode.src[0].base.index[0].imm;
2205 unsigned label = opcode.src[0].base.index[0].imm;