Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_dynamic_indexing.c79 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()
Dtgsi_point_sprite.c144 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()
Dtgsi_transform.h124 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()
Dtgsi_scan.c251 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/
Dst_tgsi_lower_depth_clamp.c180 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()
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()
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_tgsi.c46 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/
Dlp_linear.c96 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/
Dr300_tgsi_to_rc.c134 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/
Dsvga_tgsi.c193 emit.imm_start = emit.info.file_max[TGSI_FILE_CONSTANT] + 1; in svga_tgsi_vgpu9_translate()
Dsvga_state_tgsi_transform.c408 return (info->dim_indirect_files & (1u << TGSI_FILE_CONSTANT)) || in has_dynamic_indexing()
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()
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()
Dsvga_state_constants.c561 offset = variant->shader->info.file_max[TGSI_FILE_CONSTANT] + 1; in emit_consts_vgpu9()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnvfx_vertprog.c374 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()
Dnvfx_fragprog.c385 case TGSI_FILE_CONSTANT: in tgsi_src()
498 case TGSI_FILE_CONSTANT: in nvfx_fragprog_parse_instruction()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h65 TGSI_FILE_CONSTANT, enumerator
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_fpc_translate.c207 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/
Dsp_state_shader.c135 info.file_max[TGSI_FILE_CONSTANT] + 1, in softpipe_shader_db()
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_shader.c571 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/
Dlp_bld_tgsi_info.c510 case TGSI_FILE_CONSTANT: in dump_info()
Dlp_bld_tgsi_soa.c721 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()
Dlp_bld_tgsi_aos.c894 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/
Dsfn_shader_base.cpp904 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/
Dtgsi_to_nir.c291 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/
Dnv50_ir_from_tgsi.cpp419 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()

12