Home
last modified time | relevance | path

Searched refs:TGSI_FILE_SAMPLER (Results 1 – 25 of 33) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_dynamic_indexing.c132 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()
Dtgsi_scan.c50 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()
793 case TGSI_FILE_SAMPLER: in scan_declaration()
Dtgsi_transform.h181 decl.Declaration.File = TGSI_FILE_SAMPLER; in tgsi_transform_sampler_decl()
567 tgsi_transform_src_reg_xyzw(&inst.Src[1], TGSI_FILE_SAMPLER, sampler_index); in tgsi_transform_tex_inst()
Dtgsi_ureg.c732 ureg->sampler[i] = ureg_src_register( TGSI_FILE_SAMPLER, nr ); in ureg_DECL_sampler()
1190 assert(dst.File != TGSI_FILE_SAMPLER); in ureg_emit_dst()
1944 TGSI_FILE_SAMPLER, in emit_decls()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_shader.c272 state->max_sampler = state->draw_data->info.file_max[TGSI_FILE_SAMPLER]; in softpipe_create_vs_state()
333 state->max_sampler = state->draw_data->info.file_max[TGSI_FILE_SAMPLER]; in softpipe_create_gs_state()
450 state->max_sampler = state->info.file_max[TGSI_FILE_SAMPLER]; in softpipe_create_compute_state()
Dsp_state_derived.c309 softpipe->fs_variant->info.file_max[TGSI_FILE_SAMPLER]); in update_tgsi_samplers()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vs_llvm.c119 MAX2(vs->base.info.file_max[TGSI_FILE_SAMPLER]+1, in draw_create_vs_llvm()
Ddraw_tess.c462 MAX2(tcs->info.file_max[TGSI_FILE_SAMPLER]+1, in draw_create_tess_ctrl_shader()
582 MAX2(tes->info.file_max[TGSI_FILE_SAMPLER]+1, in draw_create_tess_eval_shader()
Ddraw_llvm.c2379 key->nr_samplers = llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_llvm_make_variant_key()
2993 key->nr_samplers = llvm->draw->gs.geometry_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_gs_llvm_make_variant_key()
3642 key->nr_samplers = llvm->draw->tcs.tess_ctrl_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_tcs_llvm_make_variant_key()
4147 key->nr_samplers = llvm->draw->tes.tess_eval_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_tes_llvm_make_variant_key()
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_scan.c210 if (src->Register.File == TGSI_FILE_SAMPLER) { in tgsi_scan_shader()
408 } else if (file == TGSI_FILE_SAMPLER) { in tgsi_scan_shader()
Dtgsi_ureg.c641 ureg->sampler[i] = ureg_src_register( TGSI_FILE_SAMPLER, nr ); in ureg_DECL_sampler()
919 assert(dst.File != TGSI_FILE_SAMPLER); in ureg_emit_dst()
1461 TGSI_FILE_SAMPLER, in emit_decls()
/external/mesa3d/src/gallium/auxiliary/util/
Du_pstipple.c204 if (decl->Declaration.File == TGSI_FILE_SAMPLER) { in pstip_transform_decl()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_drawpixels_shader.c175 inst.Src[1].Register.File = TGSI_FILE_SAMPLER; in transform_instr()
Dst_tgsi_lower_yuv.c108 inst.Src[1].Register.File = TGSI_FILE_SAMPLER; in tex_instruction()
/external/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h69 TGSI_FILE_SAMPLER, enumerator
/external/virglrenderer/src/gallium/include/pipe/
Dp_shader_tokens.h74 TGSI_FILE_SAMPLER =5, enumerator
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c803 info->file_max[TGSI_FILE_SAMPLER] = util_last_bit(info->samplers_declared) - 1; in nir_tgsi_scan_shader()
805 info->file_mask[TGSI_FILE_SAMPLER] = info->samplers_declared; in nir_tgsi_scan_shader()
Dtgsi_to_nir.c259 } else if (file == TGSI_FILE_SAMPLER) { in ttn_emit_declaration()
863 } else if (tgsi_src->File == TGSI_FILE_SAMPLER || in ttn_get_src()
1424 assert(tgsi_inst->Src[samp].Register.File == TGSI_FILE_SAMPLER); in ttn_tex()
1602 assert(tgsi_inst->Src[1].Register.File == TGSI_FILE_SAMPLER); in ttn_txq()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_tgsi_to_rc.c255 if (src->Src[i].Register.File == TGSI_FILE_SAMPLER) in transform_instruction()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_cs.c467 nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in llvmpipe_create_compute_state()
558 key->nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in make_variant_key()
564 if(shader->info.base.file_mask[TGSI_FILE_SAMPLER] & (1 << i)) { in make_variant_key()
592 if(shader->info.base.file_mask[TGSI_FILE_SAMPLER] & (1 << i)) { in make_variant_key()
Dlp_state_fs.c599 boolean simple_shader = (shader->info.base.file_count[TGSI_FILE_SAMPLER] == 0 && in generate_fs_loop()
3627 nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in llvmpipe_create_fs_state()
4096 key->nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in make_variant_key()
4105 if(shader->info.base.file_mask[TGSI_FILE_SAMPLER] & (1 << i)) { in make_variant_key()
4133 if(shader->info.base.file_mask[TGSI_FILE_SAMPLER] & (1 << i)) { in make_variant_key()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_tgsi_transform.c409 (info->indirect_files & (1u << TGSI_FILE_SAMPLER)); in has_dynamic_indexing()
Dsvga_tgsi_decl_sm30.c585 case TGSI_FILE_SAMPLER: in svga_translate_decl_sm30()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_tgsi.c2030 for (int idx = 0; idx < c->file[TGSI_FILE_SAMPLER].reg_size; ++idx) { in assign_texture_units()
2031 c->file[TGSI_FILE_SAMPLER].reg[idx].native.valid = 1; in assign_texture_units()
2032 c->file[TGSI_FILE_SAMPLER].reg[idx].native.is_tex = 1; // overrides rgroup in assign_texture_units()
2033 c->file[TGSI_FILE_SAMPLER].reg[idx].native.id = tex_base + idx; in assign_texture_units()
/external/mesa3d/src/gallium/drivers/r600/sb/
Dsb_bc_parser.cpp128 if (pshader->indirect_files & ~((1 << TGSI_FILE_CONSTANT) | (1 << TGSI_FILE_SAMPLER))) { in parse_decls()

12