Searched refs:sampler_deref (Results 1 – 8 of 8) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_tex_shadow.c | 90 nir_deref_instr *sampler_deref = NULL; in nir_lower_tex_shadow_impl() local 95 sampler_deref = nir_instr_as_deref(tex->src[sampler_index].src.ssa->parent_instr); in nir_lower_tex_shadow_impl() 96 sampler = nir_deref_instr_get_variable(sampler_deref); in nir_lower_tex_shadow_impl() 131 sampler_deref->type = sampler->type; in nir_lower_tex_shadow_impl()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | gl_nir_lower_samplers_as_deref.c | 299 nir_deref_instr *sampler_deref = in lower_sampler() local 302 if (sampler_deref) { in lower_sampler() 304 nir_src_for_ssa(&sampler_deref->dest.ssa)); in lower_sampler() 305 record_samplers_used(&b->shader->info, sampler_deref, instr->op); in lower_sampler()
|
D | glsl_to_nir.cpp | 2499 nir_deref_instr *sampler_deref = evaluate_deref(ir->sampler); in visit() local 2502 if (!nir_deref_mode_is(sampler_deref, nir_var_uniform) || in visit() 2503 nir_deref_instr_get_variable(sampler_deref)->data.bindless) { in visit() 2504 nir_ssa_def *load = nir_load_deref(&b, sampler_deref); in visit() 2510 instr->src[0].src = nir_src_for_ssa(&sampler_deref->dest.ssa); in visit() 2512 instr->src[1].src = nir_src_for_ssa(&sampler_deref->dest.ssa); in visit()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_instr_tex.cpp | 393 auto sampler = get_sampler_id(tex->sampler_index, src.sampler_deref); in emit_tex_tex() 416 auto sampler = get_sampler_id(tex->sampler_index, src.sampler_deref); in emit_tex_txl_txb() 542 auto sampler = get_sampler_id(tex->sampler_index, src.sampler_deref); in emit_tex_tex_ms_direct() 580 auto sampler = get_sampler_id(tex->sampler_index, src.sampler_deref); in emit_tex_tex_ms() 701 auto sampler = get_sampler_id(tex->sampler_index, src.sampler_deref); in emit_tex_txd() 786 auto sampler = get_sampler_id(tex->sampler_index, src.sampler_deref); in emit_tex_txs() 839 auto sampler = get_sampler_id(tex->sampler_index, src.sampler_deref); in emit_tex_tg4() 949 sampler_deref(nullptr), in Inputs() 1056 auto sampler = get_sampler_id(tex->sampler_index, src.sampler_deref); in emit_tex_lod()
|
D | sfn_instr_tex.h | 81 const nir_variable *sampler_deref; member
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_nir_lower_int_cubemaps.c | 112 int sampler_deref = nir_tex_instr_src_index(tex, nir_tex_src_sampler_deref); in lower_int_cubmap_to_array_filter() local 113 assert(sampler_deref >= 0); in lower_int_cubmap_to_array_filter() 114 nir_deref_instr *deref = nir_instr_as_deref(tex->src[sampler_deref].src.ssa->parent_instr); in lower_int_cubmap_to_array_filter()
|
/third_party/mesa3d/src/microsoft/vulkan/ |
D | dzn_nir.c | 716 nir_deref_instr *sampler_deref = nir_build_deref_var(&b, sampler_var); in dzn_nir_blit_fs() local 729 tex->src[2].src = nir_src_for_ssa(&sampler_deref->dest.ssa); in dzn_nir_blit_fs()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_pbo_compute.c | 656 nir_deref_instr *sampler_deref = nir_build_deref_var(&b, sampler); in create_conversion_shader() local 657 txf->src[2].src = nir_src_for_ssa(&sampler_deref->dest.ssa); in create_conversion_shader()
|