• Home
  • Raw
  • Download

Lines Matching refs:imm

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