/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_dynamic_indexing.c | 132 else if (reg->Register.File == TGSI_FILE_SAMPLER) { in remove_dynamic_indexes() 238 inst.Src[j].Register.File == TGSI_FILE_SAMPLER) { in remove_dynamic_indexes() 292 src->Register.File == TGSI_FILE_SAMPLER)) { in dIndexing_inst()
|
H A D | tgsi_scan.c | 50 return file == TGSI_FILE_SAMPLER || in is_memory_file() 267 if (src->Register.File == TGSI_FILE_SAMPLER) { in scan_src_operand() 376 if (fullinst->Src[sampler_src].Register.File != TGSI_FILE_SAMPLER) in scan_instruction() 794 case TGSI_FILE_SAMPLER: in scan_declaration()
|
H A D | tgsi_transform.h | 184 decl.Declaration.File = TGSI_FILE_SAMPLER; in tgsi_transform_sampler_decl() 570 tgsi_transform_src_reg_xyzw(&inst.Src[1], TGSI_FILE_SAMPLER, sampler_index); in tgsi_transform_tex_inst()
|
H A D | tgsi_ureg.c | 734 ureg->sampler[i] = ureg_src_register( TGSI_FILE_SAMPLER, nr ); in ureg_DECL_sampler() 1192 assert(dst.File != TGSI_FILE_SAMPLER); in ureg_emit_dst() 1975 TGSI_FILE_SAMPLER, in emit_decls()
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_state_shader.c | 253 state->max_sampler = state->draw_data->info.file_max[TGSI_FILE_SAMPLER]; in softpipe_create_vs_state() 314 state->max_sampler = state->draw_data->info.file_max[TGSI_FILE_SAMPLER]; in softpipe_create_gs_state() 436 state->max_sampler = state->info.file_max[TGSI_FILE_SAMPLER]; in softpipe_create_compute_state()
|
H A D | sp_state_derived.c | 308 softpipe->fs_variant->info.file_max[TGSI_FILE_SAMPLER]); in update_tgsi_samplers()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_vs_llvm.c | 114 vs->base.info.file_max[TGSI_FILE_SAMPLER]+1, in draw_create_vs_llvm()
|
H A D | draw_tess.c | 463 tcs->info.file_max[TGSI_FILE_SAMPLER]+1, in draw_create_tess_ctrl_shader() 588 tes->info.file_max[TGSI_FILE_SAMPLER]+1, in draw_create_tess_eval_shader()
|
H A D | draw_llvm.c | 2397 key->nr_samplers = llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_llvm_make_variant_key() 3021 key->nr_samplers = llvm->draw->gs.geometry_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_gs_llvm_make_variant_key() 3683 key->nr_samplers = llvm->draw->tcs.tess_ctrl_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_tcs_llvm_make_variant_key() 4223 key->nr_samplers = llvm->draw->tes.tess_eval_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_tes_llvm_make_variant_key()
|
H A D | draw_gs.c | 891 gs->info.file_max[TGSI_FILE_SAMPLER]+1, in draw_create_geometry_shader()
|
/third_party/mesa3d/src/gallium/include/pipe/ |
H A D | p_shader_tokens.h | 69 TGSI_FILE_SAMPLER, enumerator
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_pstipple.c | 204 if (decl->Declaration.File == TGSI_FILE_SAMPLER) { in pstip_transform_decl()
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
H A D | nir_to_tgsi_info.c | 789 info->file_max[TGSI_FILE_SAMPLER] = BITSET_LAST_BIT(nir->info.samplers_used) - 1; in nir_tgsi_scan_shader() 791 info->file_mask[TGSI_FILE_SAMPLER] = nir->info.samplers_used[0]; in nir_tgsi_scan_shader()
|
H A D | tgsi_to_nir.c | 261 } else if (file == TGSI_FILE_SAMPLER) { in ttn_emit_declaration() 868 } else if (tgsi_src->File == TGSI_FILE_SAMPLER || in ttn_get_src() 1418 assert(tgsi_inst->Src[samp].Register.File == TGSI_FILE_SAMPLER); in ttn_tex() 1598 assert(tgsi_inst->Src[1].Register.File == TGSI_FILE_SAMPLER); in ttn_txq()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_state_cs.c | 519 nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in llvmpipe_create_compute_state() 607 key->nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in make_variant_key() 617 if(shader->info.base.file_mask[TGSI_FILE_SAMPLER] & (1 << i)) { in make_variant_key() 644 if((shader->info.base.file_mask[TGSI_FILE_SAMPLER] & (1 << i)) || i > 31) { in make_variant_key()
|
H A D | lp_state_fs.c | 655 boolean simple_shader = (shader->info.base.file_count[TGSI_FILE_SAMPLER] == 0 && in generate_fs_loop() 3912 const int nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in llvmpipe_create_fs_state() 4437 key->nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in make_variant_key() 4451 if (shader->info.base.file_mask[TGSI_FILE_SAMPLER] & (1 << i)) { in make_variant_key() 4479 if ((shader->info.base.file_mask[TGSI_FILE_SAMPLER] & (1 << i)) || i > 31) { in make_variant_key()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_state_tgsi_transform.c | 415 (info->indirect_files & (1u << TGSI_FILE_SAMPLER)); in has_dynamic_indexing()
|
H A D | svga_tgsi_decl_sm30.c | 585 case TGSI_FILE_SAMPLER: in svga_translate_decl_sm30()
|
H A D | svga_tgsi_vgpu10.c | 1099 case TGSI_FILE_SAMPLER: in translate_register_file() 4929 case TGSI_FILE_SAMPLER: in emit_vgpu10_declaration() 8788 sampler = make_src_reg(TGSI_FILE_SAMPLER, in emit_tg4() 8829 sampler = make_src_reg(TGSI_FILE_SAMPLER, in emit_tg4()
|
H A D | svga_tgsi_insn.c | 72 case TGSI_FILE_SAMPLER: return SVGA3DREG_SAMPLER; in translate_file()
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_tgsi_to_rc.c | 278 if (src->Src[i].Register.File == TGSI_FILE_SAMPLER) in transform_instruction()
|
/third_party/mesa3d/src/gallium/drivers/r600/sb/ |
H A D | sb_bc_parser.cpp | 128 if (pshader->indirect_files & ~((1 << TGSI_FILE_CONSTANT) | (1 << TGSI_FILE_SAMPLER))) { in parse_decls()
|
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_from_tgsi.cpp | 429 case TGSI_FILE_SAMPLER: in translateFile() 1465 case TGSI_FILE_SAMPLER: in scanDeclaration() 2232 if (R >= 0 && tgsi.getSrc(R).getFile() != TGSI_FILE_SAMPLER) { in setTexRS()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A D | nvfx_fragprog.c | 521 case TGSI_FILE_SAMPLER: in nvfx_fragprog_parse_instruction()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_shader.c | 1190 case TGSI_FILE_SAMPLER: in tgsi_declaration() 3478 indirect_gprs = ctx.info.indirect_files & ~((1 << TGSI_FILE_CONSTANT) | (1 << TGSI_FILE_SAMPLER)); in r600_shader_from_tgsi() 3521 shader->image_size_const_offset = ctx.info.file_count[TGSI_FILE_SAMPLER]; in r600_shader_from_tgsi()
|