| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| H A D | st_glsl_types.h | 39 int st_glsl_uniforms_type_size(const struct glsl_type *type, bool bindless); 41 int st_glsl_type_dword_size(const struct glsl_type *type, bool bindless);
|
| H A D | st_glsl_types.cpp | 32 * storeage only when they are bindless. 113 st_glsl_type_dword_size(const struct glsl_type *type, bool bindless) argument 132 if (!bindless) 139 return st_glsl_type_dword_size(type->fields.array, bindless) * 145 bindless); 169 st_glsl_uniforms_type_size(const struct glsl_type *type, bool bindless) argument 171 return st_glsl_storage_type_size(type, bindless);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/standalone/ |
| H A D | glsl.h | 31 int st_glsl_type_size(const struct glsl_type *type, bool bindless);
|
| H A D | glsl.cpp | 38 st_glsl_type_size(const glsl_type *type, bool bindless) argument
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv50/ |
| H A D | nv50_stateobj_tex.h | 23 uint32_t bindless; member in struct:nv50_tic_entry
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv50/ |
| H A D | nv50_stateobj_tex.h | 23 uint32_t bindless; member in struct:nv50_tic_entry
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/ |
| H A D | brw_nir.h | 35 int type_size_scalar(const struct glsl_type *type, bool bindless); 36 int type_size_vec4(const struct glsl_type *type, bool bindless); 37 int type_size_dvec4(const struct glsl_type *type, bool bindless); 40 type_size_scalar_bytes(const struct glsl_type *type, bool bindless) argument 42 return type_size_scalar(type, bindless) * 4; 46 type_size_vec4_bytes(const struct glsl_type *type, bool bindless) argument 48 return type_size_vec4(type, bindless) * 16;
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| H A D | gl_nir_lower_images.c | 90 bool bindless = var->data.mode != nir_var_uniform || var->data.bindless; local in function:lower_impl 91 if (bindless_only && !bindless) 97 if (bindless) { 104 nir_rewrite_image_intrinsic(intrinsic, src, bindless);
|
| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| H A D | brw_nir.h | 35 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) argument 41 return glsl_count_dword_slots(type, bindless) * 4; 45 type_size_vec4_bytes(const struct glsl_type *type, bool bindless) argument 47 return type_size_vec4(type, bindless) * 16;
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/ |
| H A D | ir3_nir_lower_tex_prefetch.c | 118 nir_intrinsic_instr *bindless = ir3_bindless_resource(tex->src[idx].src); local in function:ok_bindless_src 123 return nir_src_is_const(bindless->src[0]) && 124 (nir_src_as_uint(bindless->src[0]) < (1 << 16)); 138 /* bindless case: */
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/ |
| H A D | zink_compiler.c | 1045 /* this is a "default" bindless texture used if the shader has no texture variables */ 1059 /* this is a "default" bindless image used if the shader has no image variables */ 1074 /* rewrite bindless instructions as array deref instructions */ 1078 nir_variable **bindless = data; local in function:lower_bindless_instr 1086 nir_variable *var = tex->sampler_dim == GLSL_SAMPLER_DIM_BUF ? bindless[1] : bindless[0]; 1095 /* bindless sampling uses the variable type directly, which means the tex instr has to exactly 1124 /* convert bindless intrinsics to deref intrinsics */ 1152 nir_variable *var = dim == GLSL_SAMPLER_DIM_BUF ? bindless[3] : bindless[ 1165 lower_bindless(nir_shader * shader,nir_variable ** bindless) argument 1250 handle_bindless_var(nir_shader * nir,nir_variable * var,const struct glsl_type * type,nir_variable ** bindless) argument 1387 nir_variable *bindless[4] = {0}; local in function:zink_shader_create [all...] |
| H A D | zink_compiler.h | 87 bool bindless; member in struct:zink_shader
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| H A D | gl_nir_lower_bindless_images.c | 27 * Lower bindless image operations by turning the image_deref_* into a 71 if (deref->mode == nir_var_uniform && !var->data.bindless)
|
| /xsrc/external/mit/MesaLib/dist/src/asahi/compiler/ |
| H A D | cmdline.c | 36 st_packed_uniforms_type_size(const struct glsl_type *type, bool bindless) argument 38 return glsl_count_dword_slots(type, bindless); 42 glsl_type_size(const struct glsl_type *type, bool bindless) argument
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/ |
| H A D | cmdline.c | 68 st_packed_uniforms_type_size(const struct glsl_type *type, bool bindless) argument 70 return glsl_count_dword_slots(type, bindless); 74 glsl_type_size(const struct glsl_type *type, bool bindless) argument
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/ |
| H A D | tu_shader.c | 254 /* The bindless base is part of the instruction, which means that part of 274 nir_ssa_def *bindless = local in function:lower_ssbo_ubo_intrinsic 276 nir_instr_rewrite_src_ssa(&intrin->instr, &intrin->src[buffer_src], bindless); 285 nir_ssa_def *bindless = local in function:lower_ssbo_ubo_intrinsic 295 copy->src[src] = nir_src_for_ssa(bindless); 343 /* input attachments use non bindless workaround */ 396 nir_ssa_def *bindless = build_bindless(b, deref, false, shader, layout); local in function:lower_image_deref 397 nir_rewrite_image_intrinsic(instr, bindless, true); 530 nir_ssa_def *bindless = build_bindless(b, deref, true, shader, layout); local in function:lower_tex 532 nir_src_for_ssa(bindless)); 539 nir_ssa_def *bindless = build_bindless(b, deref, false, shader, layout); local in function:lower_tex [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/amd/common/ |
| H A D | ac_shader_abi.h | 172 bool bindless);
|
| /xsrc/external/mit/MesaLib/dist/src/amd/llvm/ |
| H A D | ac_shader_abi.h | 130 bool image, bool write, bool bindless);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/ |
| H A D | si_shader_llvm_resources.c | 181 bool uses_store, bool bindless) 193 if (bindless) 248 bool write, bool bindless) 257 if (bindless) { 260 /* dynamic_index is the bindless handle */ 273 /* Since bindless handle arithmetic can contain an unsigned integer 179 si_load_image_desc(struct si_shader_context * ctx,LLVMValueRef list,LLVMValueRef index,enum ac_descriptor_type desc_type,bool uses_store,bool bindless) argument 244 si_nir_load_sampler_desc(struct ac_shader_abi * abi,unsigned descriptor_set,unsigned base_index,unsigned constant_index,LLVMValueRef dynamic_index,enum ac_descriptor_type desc_type,bool image,bool write,bool bindless) argument
|
| /xsrc/external/mit/MesaLib/dist/docs/nir/ |
| H A D | tex.rst | 29 bindless handle. When using an index or a bindless handle, the texture type
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/ |
| H A D | nv50_ir_lowering_nvc0.cpp | 986 if (!i->tex.bindless) { 1801 NVC0LoweringPass::loadSuInfo32(Value *ptr, int slot, uint32_t off, bool bindless) argument 1807 if (bindless) 1816 return loadResInfo32(ptr, off, bindless ? prog->driver->io.bindlessBase : 1821 NVC0LoweringPass::loadMsAdjInfo32(TexInstruction::Target target, uint32_t index, int slot, Value *ind, bool bindless) argument 1823 if (!bindless || targ->getChipset() < NVISA_GM107_CHIPSET) 1824 return loadSuInfo32(ind, slot, NVC0_SU_INFO_MS(index), bindless); 1826 assert(bindless); 1902 bld.mkMov(suq->getDef(d++), loadSuInfo32(ind, slot, offset, suq->tex.bindless)); 1910 Value *ms_x = loadSuInfo32(ind, slot, NVC0_SU_INFO_MS(0), suq->tex.bindless); [all...] |
| H A D | nv50_ir_lowering_nvc0.h | 153 Value *loadMsAdjInfo32(TexInstruction::Target targ, uint32_t index, int slot, Value *ind, bool bindless); 166 Value *loadSuInfo32(Value *ptr, int slot, uint32_t off, bool bindless);
|
| H A D | nv50_ir_lowering_gm107.cpp | 273 if (suq->tex.bindless) 323 loadMsAdjInfo32(suq->tex.target, 0, slot, ind, suq->tex.bindless)); 327 loadMsAdjInfo32(suq->tex.target, 1, slot, ind, suq->tex.bindless));
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/ |
| H A D | nv50_ir_lowering_nvc0.h | 155 Value *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);
|
| H A D | nv50_ir_lowering_nvc0.cpp | 1000 if (!i->tex.bindless) { 1819 NVC0LoweringPass::loadSuInfo32(Value *ptr, int slot, uint32_t off, bool bindless) argument 1823 // We don't upload surface info for bindless for GM107+ 1824 assert(!bindless || targ->getChipset() < NVISA_GM107_CHIPSET); 1828 if (bindless) 1837 return loadResInfo32(ptr, off, bindless ? prog->driver->io.bindlessBase : 1842 NVC0LoweringPass::loadMsAdjInfo32(TexInstruction::Target target, uint32_t index, int slot, Value *ind, bool bindless) argument 1844 if (!bindless || targ->getChipset() < NVISA_GM107_CHIPSET) 1845 return loadSuInfo32(ind, slot, NVC0_SU_INFO_MS(index), bindless); 1847 assert(bindless); [all...] |