Searched refs:tex_idx (Results 1 – 6 of 6) sorted by relevance
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_descriptor_set.c | 66 unsigned sampler_idx = 0, tex_idx = 0, ubo_idx = 0; in panvk_GetDescriptorSetLayoutSupport() local 78 tex_idx += binding->descriptorCount; in panvk_GetDescriptorSetLayoutSupport() 83 tex_idx += binding->descriptorCount; in panvk_GetDescriptorSetLayoutSupport() 108 if (tex_idx > PANVK_MAX_TEXTURES / MAX_SETS || in panvk_GetDescriptorSetLayoutSupport() 139 unsigned sampler_idx = 0, tex_idx = 0, ubo_idx = 0; in panvk_CreatePipelineLayout() local 146 layout->sets[set].tex_offset = tex_idx; in panvk_CreatePipelineLayout() 152 tex_idx += set_layout->num_textures; in panvk_CreatePipelineLayout() 183 layout->num_textures = tex_idx; in panvk_CreatePipelineLayout()
|
D | panvk_vX_descriptor_set.c | 129 unsigned sampler_idx = 0, tex_idx = 0, ubo_idx = 0; in panvk_per_arch() local 158 binding_layout->tex_idx = tex_idx; in panvk_per_arch() 160 tex_idx += binding_layout->array_size; in panvk_per_arch() 165 binding_layout->tex_idx = tex_idx; in panvk_per_arch() 166 tex_idx += binding_layout->array_size; in panvk_per_arch() 170 binding_layout->tex_idx = tex_idx; in panvk_per_arch() 171 tex_idx += binding_layout->array_size; in panvk_per_arch() 214 set_layout->num_textures = tex_idx; in panvk_per_arch() 454 unsigned tex_idx = binding_layout->tex_idx + elem; in panvk_tex_desc() local 456 return &((struct mali_texture_packed *)set->textures)[tex_idx]; in panvk_tex_desc()
|
D | panvk_vX_nir_lower_descriptors.c | 508 bind_layout->tex_idx + index_imm; in lower_tex()
|
D | panvk_private.h | 354 unsigned tex_idx; member
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_compiler_nir.c | 1340 unsigned tex_base, samp_base, tex_idx, samp_idx; member 1367 info.tex_idx = nir_src_as_uint(bindless_tex->src[0]); in get_image_ssbo_samp_tex_src() 1371 if (tex_const && info.tex_idx < 256) { in get_image_ssbo_samp_tex_src() 1372 if (info.tex_idx < 16) { in get_image_ssbo_samp_tex_src() 1377 info.a1_val = info.tex_idx << 3; in get_image_ssbo_samp_tex_src() 1395 unsigned tex_idx = ir3_image_to_tex(&ctx->so->image_mapping, slot); in get_image_ssbo_samp_tex_src() local 1398 texture = create_immed_typed(ctx->block, tex_idx, TYPE_U16); in get_image_ssbo_samp_tex_src() 1399 sampler = create_immed_typed(ctx->block, tex_idx, TYPE_U16); in get_image_ssbo_samp_tex_src() 1424 sam->cat5.tex = info.tex_idx; in emit_sam() 2811 info.tex_idx = nir_src_as_uint(bindless_tex->src[0]); in get_tex_samp_tex_src() [all …]
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_pipeline.c | 1051 for (uint32_t tex_idx = 0; tex_idx < texture_map->num_desc; tex_idx++) { in pipeline_populate_v3d_key() local 1052 key->tex[tex_idx].swizzle[0] = PIPE_SWIZZLE_X; in pipeline_populate_v3d_key() 1053 key->tex[tex_idx].swizzle[1] = PIPE_SWIZZLE_Y; in pipeline_populate_v3d_key() 1054 key->tex[tex_idx].swizzle[2] = PIPE_SWIZZLE_Z; in pipeline_populate_v3d_key() 1055 key->tex[tex_idx].swizzle[3] = PIPE_SWIZZLE_W; in pipeline_populate_v3d_key()
|