Home
last modified time | relevance | path

Searched refs:TGSI_FILE_CONSTANT (Results 1 – 25 of 35) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_tgsi.c39 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/
Dst_cb_drawpixels_shader.c154 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()
Dst_atifs_to_tgsi.c636 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/
Dtgsi_point_sprite.c143 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()
Dtgsi_transform.h124 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()
Dtgsi_scan.c250 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/
Dr300_tgsi_to_rc.c132 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/
Dsvga_tgsi.c192 emit.imm_start = emit.info.file_max[TGSI_FILE_CONSTANT] + 1; in svga_tgsi_vgpu9_translate()
Dsvga_tgsi_insn.c71 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()
Dsvga_state_constants.c463 offset = variant->shader->info.file_max[TGSI_FILE_CONSTANT] + 1; in emit_consts_vgpu9()
Dsvga_tgsi_vgpu10.c661 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/
Dnvfx_vertprog.c373 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()
Dnvfx_fragprog.c385 case TGSI_FILE_CONSTANT: in tgsi_src()
498 case TGSI_FILE_CONSTANT: in nvfx_fragprog_parse_instruction()
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.c490 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()
Dtgsi_scan.c274 if (file == TGSI_FILE_CONSTANT) { in tgsi_scan_shader()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_compiler.c226 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/
Dtgsi_to_nir.c314 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/
Dp_shader_tokens.h70 TGSI_FILE_CONSTANT =1, enumerator
/external/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h65 TGSI_FILE_CONSTANT, enumerator
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_translate.c241 case TGSI_FILE_CONSTANT: in src_vector()
977 == TGSI_FILE_CONSTANT) { in i915_translate_token()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_info.c502 case TGSI_FILE_CONSTANT: in dump_info()
Dlp_bld_tgsi_soa.c1096 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/
Dnine_shader.c94 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/
Dnv50_ir_from_tgsi.cpp421 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/
Dvrend_shader.c1195 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()

12