/external/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_tgsi.c | 39 case TGSI_FILE_CONSTANT: in virgl_tgsi_transform_declaration() 77 if (inst->Src[i].Register.File == TGSI_FILE_CONSTANT && in virgl_tgsi_transform_instruction()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_drawpixels_shader.c | 154 TGSI_FILE_CONSTANT, ctx->scale_const, in transform_instr() 155 TGSI_FILE_CONSTANT, ctx->bias_const); in transform_instr() 205 src->Register.File = TGSI_FILE_CONSTANT; in transform_instr()
|
D | st_atifs_to_tgsi.c | 636 if (file == TGSI_FILE_CONSTANT) { in set_src() 720 SET_SRC(&inst, 1, TGSI_FILE_CONSTANT, MAX_NUM_FRAGMENT_CONSTANTS_ATI, X, X, X, X); in transform_instr() 721 SET_SRC(&inst, 2, TGSI_FILE_CONSTANT, MAX_NUM_FRAGMENT_CONSTANTS_ATI, Y, Y, Y, Y); in transform_instr() 736 SET_SRC(&inst, 1, TGSI_FILE_CONSTANT, MAX_NUM_FRAGMENT_CONSTANTS_ATI, Z, Z, Z, Z); in transform_instr() 762 SET_SRC(&inst, 1, TGSI_FILE_CONSTANT, MAX_NUM_FRAGMENT_CONSTANTS_ATI, W, W, W, W); in transform_instr() 809 SET_SRC(&inst, 2, TGSI_FILE_CONSTANT, MAX_NUM_FRAGMENT_CONSTANTS_ATI + 1, X, Y, Z, W); in transform_instr()
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_point_sprite.c | 143 else if (decl->Declaration.File == TGSI_FILE_CONSTANT) { in psprite_decl() 258 tgsi_transform_src_reg(&inst.Src[0], TGSI_FILE_CONSTANT, in psprite_prolog() 310 tgsi_transform_src_reg(&inst.Src[1], TGSI_FILE_CONSTANT, in psprite_emit_vertex_inst() 451 TGSI_FILE_CONSTANT, ts->point_ivp, TGSI_SWIZZLE_W, false); in psprite_inst()
|
D | tgsi_transform.h | 124 decl.Declaration.File = TGSI_FILE_CONSTANT; in tgsi_transform_const_decl() 241 if (file == TGSI_FILE_CONSTANT) { in tgsi_transform_src_reg_xyzw() 255 if (file == TGSI_FILE_CONSTANT) { in tgsi_transform_src_reg()
|
D | tgsi_scan.c | 250 if (src->Register.File == TGSI_FILE_CONSTANT) { in scan_src_operand() 600 case TGSI_FILE_CONSTANT: in scan_declaration()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_tgsi_to_rc.c | 132 case TGSI_FILE_CONSTANT: return RC_FILE_CONSTANT; in translate_register_file() 315 for(i = 0; i <= ttr->info->file_max[TGSI_FILE_CONSTANT]; ++i) { in r300_tgsi_to_rc()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_tgsi.c | 192 emit.imm_start = emit.info.file_max[TGSI_FILE_CONSTANT] + 1; in svga_tgsi_vgpu9_translate()
|
D | svga_tgsi_insn.c | 71 case TGSI_FILE_CONSTANT: return SVGA3DREG_CONST; in translate_file() 237 if (reg->Register.File == TGSI_FILE_CONSTANT) { in translate_src_register() 1020 emit->info.file_max[TGSI_FILE_CONSTANT] + 1; in get_tex_dimensions() 2039 src->Register.File == TGSI_FILE_CONSTANT && in emit_mov() 3128 unsigned offset = emit->info.file_max[TGSI_FILE_CONSTANT] + 1; in emit_vs_postamble()
|
D | svga_state_constants.c | 463 offset = variant->shader->info.file_max[TGSI_FILE_CONSTANT] + 1; in emit_consts_vgpu9()
|
D | svga_tgsi_vgpu10.c | 661 case TGSI_FILE_CONSTANT: in translate_register_file() 787 if (file == TGSI_FILE_CONSTANT) { in setup_operand0_indexing() 1400 return make_src_reg(TGSI_FILE_CONSTANT, index); in make_src_const_reg() 2267 case TGSI_FILE_CONSTANT: in emit_vgpu10_declaration() 5390 src->Register.File == TGSI_FILE_CONSTANT && in emit_mov()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nvfx_vertprog.c | 373 case TGSI_FILE_CONSTANT: in tgsi_src() 406 (fsrc->Register.File == TGSI_FILE_CONSTANT || in tgsi_src() 501 case TGSI_FILE_CONSTANT: in nvfx_vertprog_parse_instruction() 906 case TGSI_FILE_CONSTANT: in nvfx_vertprog_prepare()
|
D | nvfx_fragprog.c | 385 case TGSI_FILE_CONSTANT: in tgsi_src() 498 case TGSI_FILE_CONSTANT: in nvfx_fragprog_parse_instruction()
|
/external/virglrenderer/src/gallium/auxiliary/tgsi/ |
D | tgsi_ureg.c | 490 return ureg_src_register(TGSI_FILE_CONSTANT, index); in ureg_DECL_constant() 881 assert(dst.File != TGSI_FILE_CONSTANT); in ureg_emit_dst() 1413 TGSI_FILE_CONSTANT, in emit_decls() 1427 TGSI_FILE_CONSTANT, in emit_decls()
|
D | tgsi_scan.c | 274 if (file == TGSI_FILE_CONSTANT) { in tgsi_scan_shader()
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_compiler.c | 226 ctx->so->first_immediate = ctx->num_regs[TGSI_FILE_CONSTANT]; in compile_init() 368 case TGSI_FILE_CONSTANT: in add_src_reg() 384 num = src->Index + ctx->num_regs[TGSI_FILE_CONSTANT]; in add_src_reg()
|
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | tgsi_to_nir.c | 314 file == TGSI_FILE_CONSTANT); in ttn_emit_declaration() 317 if ((file == TGSI_FILE_CONSTANT) && decl->Declaration.Dimension && in ttn_emit_declaration() 447 case TGSI_FILE_CONSTANT: in ttn_emit_declaration() 598 case TGSI_FILE_CONSTANT: { in ttn_src_for_file_and_index() 627 case TGSI_FILE_CONSTANT: in ttn_src_for_file_and_index()
|
/external/virglrenderer/src/gallium/include/pipe/ |
D | p_shader_tokens.h | 70 TGSI_FILE_CONSTANT =1, enumerator
|
/external/mesa3d/src/gallium/include/pipe/ |
D | p_shader_tokens.h | 65 TGSI_FILE_CONSTANT, enumerator
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_fpc_translate.c | 241 case TGSI_FILE_CONSTANT: in src_vector() 977 == TGSI_FILE_CONSTANT) { in i915_translate_token()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi_info.c | 502 case TGSI_FILE_CONSTANT: in dump_info()
|
D | lp_bld_tgsi_soa.c | 1096 if (reg_file != TGSI_FILE_CONSTANT) { in get_indirect_index() 1998 if (reg->Register.File == TGSI_FILE_CONSTANT || in lp_build_lod_property() 2788 if (file == TGSI_FILE_CONSTANT) { in emit_dump_file() 2887 case TGSI_FILE_CONSTANT: in lp_emit_declaration_soa() 3727 emit_dump_file(bld, TGSI_FILE_CONSTANT); in emit_prologue() 3854 bld.bld_base.emit_fetch_funcs[TGSI_FILE_CONSTANT] = emit_fetch_constant; in lp_build_tgsi_soa()
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | nine_shader.c | 94 ureg_src_dimension(ureg_src_register(TGSI_FILE_CONSTANT, index), 0) 1001 src = ureg_src_register(TGSI_FILE_CONSTANT, param->idx); in tx_src_param() 1004 src = ureg_src_register(TGSI_FILE_CONSTANT, param->idx - 4096); in tx_src_param() 1008 … src = ureg_src_register(TGSI_FILE_CONSTANT, param->idx); /* TODO: swvp rel > 4096 */ in tx_src_param() 1035 src = ureg_src_register(TGSI_FILE_CONSTANT, param->idx); in tx_src_param() 1048 src = ureg_src_register(TGSI_FILE_CONSTANT, r); in tx_src_param() 1821 assert(rep.File == TGSI_FILE_CONSTANT || rep.File == TGSI_FILE_IMMEDIATE); in DECL_SPECIAL()
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_from_tgsi.cpp | 421 case TGSI_FILE_CONSTANT: return nv50_ir::FILE_MEMORY_CONST; in translateFile() 1485 case TGSI_FILE_CONSTANT: in scanDeclaration() 1969 case TGSI_FILE_CONSTANT: in fetchSrc() 2008 case TGSI_FILE_CONSTANT: in fetchDst() 2092 case TGSI_FILE_CONSTANT: in fetchSrc()
|
/external/virglrenderer/src/ |
D | vrend_shader.c | 1195 case TGSI_FILE_CONSTANT: in iter_declaration() 3048 } else if (src->Register.File == TGSI_FILE_CONSTANT) { in get_source_info() 3062 if (ctx->info.dimension_indirect_files & (1 << TGSI_FILE_CONSTANT)) { in get_source_info() 4756 if (ctx->info.dimension_indirect_files & (1 << TGSI_FILE_CONSTANT)) { in emit_ios() 4950 if (ctx.info.dimension_indirect_files & (1 << TGSI_FILE_CONSTANT)) in vrend_convert_shader() 5013 sinfo->ubo_indirect = ctx.info.dimension_indirect_files & (1 << TGSI_FILE_CONSTANT); in vrend_convert_shader()
|