Home
last modified time | relevance | path

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

/third_party/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
2121 c->num_varyings = native_idx - 1; in permute_ps_inputs()
2158 assert(sf->num_reg == c->num_varyings); in fill_in_ps_inputs()
2289 if (c->num_varyings > c->specs->max_varyings) { in etna_compile_check_limits()
2290 DBG("Number of varyings (%d) exceeds maximum %d", c->num_varyings, in etna_compile_check_limits()
2554 if (fsio->reg > info->num_varyings) in etna_link_shader()
2555 info->num_varyings = fsio->reg; in etna_link_shader()
2590 assert(info->num_varyings == fs->infile.num_reg); in etna_link_shader()
Detnaviv_compiler_nir.c1247 if (fsio->reg > info->num_varyings) in etna_link_shader_nir()
1248 info->num_varyings = fsio->reg; in etna_link_shader_nir()
1289 assert(info->num_varyings == fs->infile.num_reg); in etna_link_shader_nir()
/third_party/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()
/third_party/mesa3d/src/freedreno/decode/
Dpgmdump.c53 uint32_t num_varyings; member
393 for (i = 0; i < state->hdr->num_varyings; i++) { in dump_short_summary()
714 printf("\tvaryings: %d\n", state->hdr->num_varyings); in dump_program()
799 for (i = 0; (i < state->hdr->num_varyings) && (state->sz > 0); i++) { in dump_program()
820 for (i = 0; (i < state->hdr->num_varyings) && (state->sz > 0); i++) { in dump_program()
/third_party/mesa3d/src/intel/blorp/
Dblorp_genX_exec.h216 const unsigned num_varyings = in emit_urb_config() local
218 const unsigned total_needed = 16 + 16 + num_varyings * 16; in emit_urb_config()
301 const unsigned num_varyings = in blorp_emit_input_varying_data() local
304 *size = 16 + num_varyings * vec4_size_in_bytes; in blorp_emit_input_varying_data()
344 assert(num_varyings == 1); in blorp_emit_input_varying_data()
429 const unsigned num_varyings = in blorp_emit_vertex_elements() local
432 const unsigned num_elements = 2 + need_ndc + num_varyings; in blorp_emit_vertex_elements()
546 for (unsigned i = 0; i < num_varyings; ++i) { in blorp_emit_vertex_elements()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_context.h88 int num_varyings; member
Dlima_draw.c771 if (ctx->vs->state.num_varyings) { in lima_pack_render_state()
973 if (vs->state.num_varyings) { in lima_update_varying()
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
Dnir.c514 prog->state.num_varyings++; in gpir_compile_nir()