/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_dynamic_indexing.c | 79 else if (decl->Declaration.File == TGSI_FILE_CONSTANT) { in dIndexing_decl() 127 if (reg->Register.File == TGSI_FILE_CONSTANT) { in remove_dynamic_indexes() 178 if ((reg->Register.File == TGSI_FILE_CONSTANT) && in remove_dynamic_indexes() 232 inst.Src[j].Register.File == TGSI_FILE_CONSTANT) { in remove_dynamic_indexes() 290 src->Register.File == TGSI_FILE_CONSTANT) || in dIndexing_inst() 297 if (src->Register.File == TGSI_FILE_CONSTANT) in dIndexing_inst()
|
D | tgsi_point_sprite.c | 144 else if (decl->Declaration.File == TGSI_FILE_CONSTANT) { in psprite_decl() 259 tgsi_transform_src_reg(&inst.Src[0], TGSI_FILE_CONSTANT, in psprite_prolog() 311 tgsi_transform_src_reg(&inst.Src[1], TGSI_FILE_CONSTANT, in psprite_emit_vertex_inst() 452 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() 259 if (file == TGSI_FILE_CONSTANT) { in tgsi_transform_src_reg_xyzw() 273 if (file == TGSI_FILE_CONSTANT) { in tgsi_transform_src_reg()
|
D | tgsi_scan.c | 251 if (src->Register.File == TGSI_FILE_CONSTANT) { in scan_src_operand() 645 case TGSI_FILE_CONSTANT: in scan_declaration()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_tgsi_lower_depth_clamp.c | 180 TGSI_FILE_CONSTANT, ctx->depth_range_const, in epilog_last_vertex_stage() 182 TGSI_FILE_CONSTANT, ctx->depth_range_const, in epilog_last_vertex_stage() 197 TGSI_FILE_CONSTANT, ctx->depth_range_const, in epilog_last_vertex_stage() 276 TGSI_FILE_CONSTANT, ctx->depth_range_const, in epilog_fs() 278 TGSI_FILE_CONSTANT, ctx->depth_range_const, in epilog_fs() 285 TGSI_FILE_CONSTANT, ctx->depth_range_const, in epilog_fs() 287 TGSI_FILE_CONSTANT, ctx->depth_range_const, in epilog_fs()
|
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()
|
/third_party/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_tgsi.c | 46 case TGSI_FILE_CONSTANT: in virgl_tgsi_transform_declaration() 96 if (inst->Src[i].Register.File == TGSI_FILE_CONSTANT && in virgl_tgsi_transform_instruction()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_linear.c | 96 int nr_consts = info->base.file_max[TGSI_FILE_CONSTANT]+1; in lp_fs_linear_run() 286 if (info->base.file_max[TGSI_FILE_CONSTANT] >= LP_MAX_LINEAR_CONSTANTS || in lp_linear_check_variant()
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_tgsi_to_rc.c | 134 case TGSI_FILE_CONSTANT: return RC_FILE_CONSTANT; in translate_register_file() 338 for(i = 0; i <= ttr->info->file_max[TGSI_FILE_CONSTANT]; ++i) { in r300_tgsi_to_rc()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_tgsi.c | 193 emit.imm_start = emit.info.file_max[TGSI_FILE_CONSTANT] + 1; in svga_tgsi_vgpu9_translate()
|
D | svga_state_tgsi_transform.c | 408 return (info->dim_indirect_files & (1u << TGSI_FILE_CONSTANT)) || in has_dynamic_indexing()
|
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() 1018 emit->info.file_max[TGSI_FILE_CONSTANT] + 1; in get_tex_dimensions() 2037 src->Register.File == TGSI_FILE_CONSTANT && in emit_mov() 3127 unsigned offset = emit->info.file_max[TGSI_FILE_CONSTANT] + 1; in emit_vs_postamble()
|
D | svga_state_constants.c | 561 offset = variant->shader->info.file_max[TGSI_FILE_CONSTANT] + 1; in emit_consts_vgpu9()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nvfx_vertprog.c | 374 case TGSI_FILE_CONSTANT: in tgsi_src() 407 (fsrc->Register.File == TGSI_FILE_CONSTANT || in tgsi_src() 502 case TGSI_FILE_CONSTANT: in nvfx_vertprog_parse_instruction() 907 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()
|
/third_party/mesa3d/src/gallium/include/pipe/ |
D | p_shader_tokens.h | 65 TGSI_FILE_CONSTANT, enumerator
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_fpc_translate.c | 207 case TGSI_FILE_CONSTANT: in src_vector() 772 if (token->FullDeclaration.Declaration.File == TGSI_FILE_CONSTANT) { in i915_translate_token()
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_shader.c | 135 info.file_max[TGSI_FILE_CONSTANT] + 1, in softpipe_shader_db()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | nine_shader.c | 571 src = ureg_src_register(TGSI_FILE_CONSTANT, idx - 4096); in nine_float_constant_src() 574 src = ureg_src_register(TGSI_FILE_CONSTANT, idx); in nine_float_constant_src() 593 src = ureg_src_register(TGSI_FILE_CONSTANT, idx); in nine_integer_constant_src() 599 src = ureg_src_register(TGSI_FILE_CONSTANT, slot_idx); in nine_integer_constant_src() 621 src = ureg_src_register(TGSI_FILE_CONSTANT, r); in nine_boolean_constant_src() 627 src = ureg_src_register(TGSI_FILE_CONSTANT, slot_idx); in nine_boolean_constant_src() 1918 assert(rep.File == TGSI_FILE_CONSTANT || rep.File == TGSI_FILE_IMMEDIATE); in DECL_SPECIAL() 3719 struct ureg_src c0 = ureg_src_register(TGSI_FILE_CONSTANT, 0); in shader_add_vs_viewport_transform() 3720 struct ureg_src c1 = ureg_src_register(TGSI_FILE_CONSTANT, 1); in shader_add_vs_viewport_transform()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi_info.c | 510 case TGSI_FILE_CONSTANT: in dump_info()
|
D | lp_bld_tgsi_soa.c | 721 if (reg_file != TGSI_FILE_CONSTANT) { in get_indirect_index() 2036 reg->Register.File == TGSI_FILE_CONSTANT || in lp_build_lod_property() 2843 if (file == TGSI_FILE_CONSTANT) { in emit_dump_file() 2942 case TGSI_FILE_CONSTANT: in lp_emit_declaration_soa() 4347 emit_dump_file(bld, TGSI_FILE_CONSTANT); in emit_prologue() 4481 bld.bld_base.emit_fetch_funcs[TGSI_FILE_CONSTANT] = emit_fetch_constant; in lp_build_tgsi_soa()
|
D | lp_bld_tgsi_aos.c | 894 bld.bld_base.emit_fetch_funcs[TGSI_FILE_CONSTANT] = emit_fetch_constant; in lp_build_tgsi_aos()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_shader_base.cpp | 904 m_sh_info.indirect_files |= 1 << TGSI_FILE_CONSTANT; in emit_load_ubo_vec4() 1027 m_sh_info.indirect_files |= 1 << TGSI_FILE_CONSTANT; in load_uniform_indirect()
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | tgsi_to_nir.c | 291 file == TGSI_FILE_CONSTANT); in ttn_emit_declaration() 294 if ((file == TGSI_FILE_CONSTANT) && decl->Declaration.Dimension && in ttn_emit_declaration() 456 case TGSI_FILE_CONSTANT: in ttn_emit_declaration() 688 case TGSI_FILE_CONSTANT: { in ttn_src_for_file_and_index()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_from_tgsi.cpp | 419 case TGSI_FILE_CONSTANT: return nv50_ir::FILE_MEMORY_CONST; in translateFile() 1463 case TGSI_FILE_CONSTANT: in scanDeclaration() 1923 case TGSI_FILE_CONSTANT: in fetchSrc() 1962 case TGSI_FILE_CONSTANT: in fetchDst() 2046 case TGSI_FILE_CONSTANT: in fetchSrc()
|