Home
last modified time | relevance | path

Searched refs:tex_idx (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/broadcom/vulkan/
Dv3dv_pipeline.c1024 uint32_t tex_idx = 0; in pipeline_populate_v3d_key() local
1027 key->tex[tex_idx].swizzle[0] = PIPE_SWIZZLE_X; in pipeline_populate_v3d_key()
1028 key->tex[tex_idx].swizzle[1] = PIPE_SWIZZLE_Y; in pipeline_populate_v3d_key()
1029 key->tex[tex_idx].swizzle[2] = PIPE_SWIZZLE_Z; in pipeline_populate_v3d_key()
1030 key->tex[tex_idx].swizzle[3] = PIPE_SWIZZLE_W; in pipeline_populate_v3d_key()
1032 key->tex[tex_idx].return_size = 16; in pipeline_populate_v3d_key()
1033 key->tex[tex_idx].return_channels = 2; in pipeline_populate_v3d_key()
1035 tex_idx++; in pipeline_populate_v3d_key()
1038 key->num_tex_used = tex_idx; in pipeline_populate_v3d_key()
1606 for (uint32_t tex_idx = 0; tex_idx < key->num_tex_used; tex_idx++) { in v3d_key_update_return_size() local
[all …]
/external/mesa3d/src/freedreno/ir3/
Dir3_compiler_nir.c1057 unsigned tex_base, samp_base, tex_idx, samp_idx; member
1084 info.tex_idx = nir_src_as_uint(bindless_tex->src[0]); in get_image_samp_tex_src()
1088 if (tex_const && info.tex_idx < 256) { in get_image_samp_tex_src()
1089 if (info.tex_idx < 16) { in get_image_samp_tex_src()
1092 info.combined_idx = info.samp_idx | (info.tex_idx << 4); in get_image_samp_tex_src()
1095 info.a1_val = info.tex_idx << 3; in get_image_samp_tex_src()
1117 unsigned tex_idx = ir3_image_to_tex(&ctx->so->image_mapping, slot); in get_image_samp_tex_src() local
1120 texture = create_immed_typed(ctx->block, tex_idx, TYPE_U16); in get_image_samp_tex_src()
1121 sampler = create_immed_typed(ctx->block, tex_idx, TYPE_U16); in get_image_samp_tex_src()
2066 info.tex_idx = nir_src_as_uint(bindless_tex->src[0]); in get_tex_samp_tex_src()
[all …]