Home
last modified time | relevance | path

Searched refs:bindless (Results 1 – 25 of 76) sorted by relevance

1234

/external/mesa3d/src/compiler/glsl/
Dgl_nir_lower_images.c90 bool bindless = var->data.mode != nir_var_uniform || var->data.bindless; in lower_impl() local
91 if (bindless_only && !bindless) in lower_impl()
97 if (bindless) { in lower_impl()
104 nir_rewrite_image_intrinsic(intrinsic, src, bindless); in lower_impl()
Dlink_uniform_initializers.cpp149 if (var->data.bindless) { in set_opaque_binding()
168 if (var->data.bindless) { in set_opaque_binding()
Dir_print_visitor.cpp189 const char *const bindless = (ir->data.bindless) ? "bindless " : ""; in visit() local
206 binding, loc, component, cent, bindless, bound, in visit()
/external/mesa3d/src/freedreno/vulkan/
Dtu_shader.c284 nir_intrinsic_instr *bindless = in lower_ssbo_ubo_intrinsic() local
287 bindless->num_components = 0; in lower_ssbo_ubo_intrinsic()
288 nir_ssa_dest_init(&bindless->instr, &bindless->dest, in lower_ssbo_ubo_intrinsic()
290 nir_intrinsic_set_desc_set(bindless, i); in lower_ssbo_ubo_intrinsic()
291 bindless->src[0] = nir_src_for_ssa(descriptor_idx); in lower_ssbo_ubo_intrinsic()
292 nir_builder_instr_insert(b, &bindless->instr); in lower_ssbo_ubo_intrinsic()
301 copy->src[src] = nir_src_for_ssa(&bindless->dest.ssa); in lower_ssbo_ubo_intrinsic()
394 nir_intrinsic_instr *bindless = in build_bindless() local
397 bindless->num_components = 0; in build_bindless()
398 nir_ssa_dest_init(&bindless->instr, &bindless->dest, in build_bindless()
[all …]
/external/mesa3d/src/intel/compiler/
Dbrw_nir.h35 int type_size_vec4(const struct glsl_type *type, bool bindless);
36 int type_size_dvec4(const struct glsl_type *type, bool bindless);
39 type_size_scalar_bytes(const struct glsl_type *type, bool bindless) in type_size_scalar_bytes() argument
41 return glsl_count_dword_slots(type, bindless) * 4; in type_size_scalar_bytes()
45 type_size_vec4_bytes(const struct glsl_type *type, bool bindless) in type_size_vec4_bytes() argument
47 return type_size_vec4(type, bindless) * 16; in type_size_vec4_bytes()
Dbrw_vec4_visitor.cpp566 type_size_xvec4(const struct glsl_type *type, bool as_vec4, bool bindless) in type_size_xvec4() argument
599 return type_size_xvec4(type->fields.array, as_vec4, bindless) * in type_size_xvec4()
606 bindless); in type_size_xvec4()
616 return bindless ? 1 : 0; in type_size_xvec4()
620 return bindless ? 1 : DIV_ROUND_UP(BRW_IMAGE_PARAM_SIZE, 4); in type_size_xvec4()
641 type_size_vec4(const struct glsl_type *type, bool bindless) in type_size_vec4() argument
643 return type_size_xvec4(type, true, bindless); in type_size_vec4()
666 type_size_dvec4(const struct glsl_type *type, bool bindless) in type_size_dvec4() argument
668 return type_size_xvec4(type, false, bindless); in type_size_dvec4()
/external/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_tex_prefetch.c118 nir_intrinsic_instr *bindless = ir3_bindless_resource(tex->src[idx].src); in ok_bindless_src() local
123 return nir_src_is_const(bindless->src[0]) && in ok_bindless_src()
124 (nir_src_as_uint(bindless->src[0]) < (1 << 16)); in ok_bindless_src()
Ddisasm-a3xx.c722 bool bindless; in print_instr_cat5() member
728 [CAT5_BINDLESS_IMM] = { .bindless = true, }, in print_instr_cat5()
730 .bindless = true, in print_instr_cat5()
735 .bindless = true, in print_instr_cat5()
739 .bindless = true, in print_instr_cat5()
743 .bindless = true, in print_instr_cat5()
749 .bindless = true, in print_instr_cat5()
761 bool bindless = in print_instr_cat5() local
763 desc_features[cat5->s2en_bindless.desc_mode].bindless; in print_instr_cat5()
779 if (bindless) { in print_instr_cat5()
[all …]
Dir3_nir_analyze_ubo_ranges.c60 ubo->bindless = false; in get_ubo_info()
67 ubo->bindless = true; in get_ubo_info()
Dir3_shader.h95 bool bindless; member
782 ir3_glsl_type_size(const struct glsl_type *type, bool bindless);
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_resources.c157 bool uses_store, bool bindless) in si_load_image_desc() argument
169 if (bindless) in si_load_image_desc()
223 bool write, bool bindless) in si_nir_load_sampler_desc() argument
232 if (bindless) { in si_nir_load_sampler_desc()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_lowering_nvc0.cpp999 if (!i->tex.bindless) { in handleTEX()
1818 NVC0LoweringPass::loadSuInfo32(Value *ptr, int slot, uint32_t off, bool bindless) in loadSuInfo32() argument
1823 assert(!bindless || targ->getChipset() < NVISA_GM107_CHIPSET); in loadSuInfo32()
1827 if (bindless) in loadSuInfo32()
1836 return loadResInfo32(ptr, off, bindless ? prog->driver->io.bindlessBase : in loadSuInfo32()
1841 …loadMsAdjInfo32(TexInstruction::Target target, uint32_t index, int slot, Value *ind, bool bindless) in loadMsAdjInfo32() argument
1843 if (!bindless || targ->getChipset() < NVISA_GM107_CHIPSET) in loadMsAdjInfo32()
1844 return loadSuInfo32(ind, slot, NVC0_SU_INFO_MS(index), bindless); in loadMsAdjInfo32()
1846 assert(bindless); in loadMsAdjInfo32()
1922 bld.mkMov(suq->getDef(d++), loadSuInfo32(ind, slot, offset, suq->tex.bindless)); in handleSUQ()
[all …]
Dnv50_ir_lowering_nvc0.h155 …*loadMsAdjInfo32(TexInstruction::Target targ, uint32_t index, int slot, Value *ind, bool bindless);
168 Value *loadSuInfo32(Value *ptr, int slot, uint32_t off, bool bindless);
Dnv50_ir_lowering_gm107.cpp272 if (suq->tex.bindless) in handleSUQ()
322 loadMsAdjInfo32(suq->tex.target, 0, slot, ind, suq->tex.bindless)); in handleSUQ()
326 loadMsAdjInfo32(suq->tex.target, 1, slot, ind, suq->tex.bindless)); in handleSUQ()
Dnv50_ir_from_nir.cpp57 type_size(const struct glsl_type *type, bool bindless) in type_size() argument
2169 bool bindless = false; in visit() local
2184 bindless = true; in visit()
2201 bindless = false; in visit()
2208 bindless = op == nir_intrinsic_bindless_image_load; in visit()
2215 bindless = op == nir_intrinsic_bindless_image_store; in visit()
2225 bindless = op == nir_intrinsic_bindless_image_samples; in visit()
2232 bindless = op == nir_intrinsic_bindless_image_size; in visit()
2239 if (bindless) in visit()
2265 texi->tex.bindless = bindless; in visit()
[all …]
Dnv50_ir_from_tgsi.cpp2214 tex->tex.bindless = true; in setTexRS()
2668 bool bindless = tgsi.getSrc(0).getFile() != TGSI_FILE_IMAGE; in handleLOAD() local
2669 if (bindless) in handleLOAD()
2677 ld->tex.bindless = bindless; in handleLOAD()
2678 if (!bindless) in handleLOAD()
2805 bool bindless = tgsi.getDst(0).getFile() != TGSI_FILE_IMAGE; in handleSTORE() local
2806 if (bindless) in handleSTORE()
2814 st->tex.bindless = bindless; in handleSTORE()
2815 if (!bindless) in handleSTORE()
2928 bool bindless = tgsi.getSrc(0).getFile() != TGSI_FILE_IMAGE; in handleATOM() local
[all …]
/external/mesa3d/src/gallium/drivers/lima/standalone/
Dglsl.h31 int st_glsl_type_size(const struct glsl_type *type, bool bindless);
Dglsl.cpp38 st_glsl_type_size(const glsl_type *type, bool bindless) in st_glsl_type_size() argument
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_stateobj_tex.h23 uint32_t bindless; member
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_tex.c93 view->bindless = 0; in gm107_create_texture_view()
306 view->bindless = 0; in gf100_create_texture_view()
835 p_atomic_inc(&tic->bindless); in nve4_create_texture_handle()
867 assert(entry->bindless); in nve4_delete_texture_handle()
868 p_atomic_dec(&entry->bindless); in nve4_delete_texture_handle()
887 assert(tic->bindless); in nve4_make_texture_handle_resident()
1423 tic->bindless = 1; in gm107_create_image_handle()
1458 assert(entry->bindless == 1); in gm107_delete_image_handle()
1460 entry->bindless = 0; in gm107_delete_image_handle()
1476 assert(tic->bindless); in gm107_make_image_handle_resident()
Dnvc0_screen.h213 if (tic->bindless) in nvc0_screen_tic_unlock()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp207 if (!uniform->data.bindless && (type->is_sampler() || type->is_image())) { in st_nir_assign_uniform_locations()
929 st_packed_uniforms_type_size(const struct glsl_type *type, bool bindless) in st_packed_uniforms_type_size() argument
931 return glsl_count_dword_slots(type, bindless); in st_packed_uniforms_type_size()
935 st_unpacked_uniforms_type_size(const struct glsl_type *type, bool bindless) in st_unpacked_uniforms_type_size() argument
937 return glsl_count_vec4_slots(type, false, bindless); in st_unpacked_uniforms_type_size()
/external/mesa3d/src/amd/llvm/
Dac_shader_abi.h130 bool image, bool write, bool bindless);
/external/mesa3d/docs/relnotes/
D17.1.6.rst96 - cherry-ignore: add bindless textures fix
99 - cherry-ignore: add yet another bindless textures fix
/external/mesa3d/src/compiler/
Dglsl_types.h554 unsigned count_vec4_slots(bool is_gl_vertex_input, bool bindless) const;
562 unsigned count_dword_slots(bool bindless) const;

1234