Home
last modified time | relevance | path

Searched refs:num_varyings (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_shader.c152 for (int idx = 0; idx < link.num_varyings; ++idx) in etna_link_shaders()
163 if (link.num_varyings > 0 && link.varyings[link.num_varyings - 1].num_components <= 2) in etna_link_shaders()
169 cs->PA_ATTRIBUTE_ELEMENT_COUNT = VIVS_PA_ATTRIBUTE_ELEMENT_COUNT_COUNT(link.num_varyings); in etna_link_shaders()
170 for (int idx = 0; idx < link.num_varyings; ++idx) in etna_link_shaders()
174 cs->VS_OUTPUT_COUNT = 1 + link.num_varyings; /* position + varyings */ in etna_link_shaders()
180 for (int idx = 0; idx < link.num_varyings; ++idx) in etna_link_shaders()
212 VIVS_PS_INPUT_COUNT_COUNT(link.num_varyings + 1) | /* Number of inputs plus position */ in etna_link_shaders()
215 VIVS_PS_TEMP_REGISTER_CONTROL_NUM_TEMPS(MAX2(fs->num_temps, link.num_varyings + 1)); in etna_link_shaders()
221 VIVS_PS_INPUT_COUNT_COUNT(link.num_varyings + 2) | /* MSAA adds another input */ in etna_link_shaders()
224 VIVS_PS_TEMP_REGISTER_CONTROL_NUM_TEMPS(MAX2(fs->num_temps, link.num_varyings + 2)); in etna_link_shaders()
[all …]
Detnaviv_compiler.h144 unsigned num_varyings; member
Detnaviv_compiler_tgsi.c195 int num_varyings; member
2105 c->num_varyings = native_idx - 1; in permute_ps_inputs()
2142 assert(sf->num_reg == c->num_varyings); in fill_in_ps_inputs()
2273 if (c->num_varyings > c->specs->max_varyings) { in etna_compile_check_limits()
2274 DBG("Number of varyings (%d) exceeds maximum %d", c->num_varyings, in etna_compile_check_limits()
2538 if (fsio->reg > info->num_varyings) in etna_link_shader()
2539 info->num_varyings = fsio->reg; in etna_link_shader()
2574 assert(info->num_varyings == fs->infile.num_reg); in etna_link_shader()
Detnaviv_compiler_nir.c1220 if (fsio->reg > info->num_varyings) in etna_link_shader_nir()
1221 info->num_varyings = fsio->reg; in etna_link_shader_nir()
1255 assert(info->num_varyings == fs->infile.num_reg); in etna_link_shader_nir()
/external/mesa3d/src/compiler/nir/
Dnir_gather_xfb_info.c203 unsigned num_varyings = 0; in nir_gather_xfb_info_with_varyings() local
208 num_varyings += glsl_varying_count(var->type); in nir_gather_xfb_info_with_varyings()
211 if (num_outputs == 0 || num_varyings == 0) in nir_gather_xfb_info_with_varyings()
216 *varyings_info_out = nir_xfb_varyings_info_create(mem_ctx, num_varyings); in nir_gather_xfb_info_with_varyings()
/external/mesa3d/src/freedreno/decode/
Dpgmdump.c53 uint32_t num_varyings; member
378 for (i = 0; i < state->hdr->num_varyings; i++) { in dump_short_summary()
689 printf("\tvaryings: %d\n", state->hdr->num_varyings); in dump_program()
776 for (i = 0; (i < state->hdr->num_varyings) && (state->sz > 0); i++) { in dump_program()
797 for (i = 0; (i < state->hdr->num_varyings) && (state->sz > 0); i++) { in dump_program()
/external/mesa3d/src/intel/blorp/
Dblorp_genX_exec.h205 const unsigned num_varyings = in emit_urb_config() local
207 const unsigned total_needed = 16 + 16 + num_varyings * 16; in emit_urb_config()
289 const unsigned num_varyings = in blorp_emit_input_varying_data() local
292 *size = 16 + num_varyings * vec4_size_in_bytes; in blorp_emit_input_varying_data()
332 assert(num_varyings == 1); in blorp_emit_input_varying_data()
413 const unsigned num_varyings = in blorp_emit_vertex_elements() local
416 const unsigned num_elements = 2 + need_ndc + num_varyings; in blorp_emit_vertex_elements()
530 for (unsigned i = 0; i < num_varyings; ++i) { in blorp_emit_vertex_elements()
/external/mesa3d/src/gallium/drivers/lima/
Dlima_context.h76 int num_varyings; member
Dlima_draw.c755 if (ctx->vs->num_varyings) { in lima_pack_render_state()
955 if (vs->num_varyings) { in lima_update_varying()
/external/mesa3d/src/gallium/drivers/lima/ir/gp/
Dnir.c508 prog->num_varyings++; in gpir_compile_nir()