Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir.c1213 const struct etna_shader_inout *fsio = &fs->infile.reg[idx]; in etna_link_shader_nir() local
1214 const struct etna_shader_inout *vsio = etna_shader_vs_lookup(vs, fsio); in etna_link_shader_nir()
1218 assert(fsio->reg > 0 && fsio->reg <= ARRAY_SIZE(info->varyings)); in etna_link_shader_nir()
1220 if (fsio->reg > info->num_varyings) in etna_link_shader_nir()
1221 info->num_varyings = fsio->reg; in etna_link_shader_nir()
1223 varying = &info->varyings[fsio->reg - 1]; in etna_link_shader_nir()
1224 varying->num_components = fsio->num_components; in etna_link_shader_nir()
1239 if (fsio->slot == VARYING_SLOT_PNTC) { in etna_link_shader_nir()
Detnaviv_compiler_tgsi.c2530 const struct etna_shader_inout *fsio = &fs->infile.reg[idx]; in etna_link_shader() local
2531 const struct etna_shader_inout *vsio = etna_shader_vs_lookup(vs, fsio); in etna_link_shader()
2533 bool interpolate_always = ((fsio->slot != VARYING_SLOT_COL0) && in etna_link_shader()
2534 (fsio->slot != VARYING_SLOT_COL1)); in etna_link_shader()
2536 assert(fsio->reg > 0 && fsio->reg <= ARRAY_SIZE(info->varyings)); in etna_link_shader()
2538 if (fsio->reg > info->num_varyings) in etna_link_shader()
2539 info->num_varyings = fsio->reg; in etna_link_shader()
2541 varying = &info->varyings[fsio->reg - 1]; in etna_link_shader()
2542 varying->num_components = fsio->num_components; in etna_link_shader()
2557 if (fsio->slot == VARYING_SLOT_PNTC) { in etna_link_shader()