Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_shader.c150 for (int idx = 0; idx < link.num_varyings; ++idx) in etna_link_shaders()
161 if (link.num_varyings > 0 && link.varyings[link.num_varyings - 1].num_components <= 2) in etna_link_shaders()
167 cs->PA_ATTRIBUTE_ELEMENT_COUNT = VIVS_PA_ATTRIBUTE_ELEMENT_COUNT_COUNT(link.num_varyings); in etna_link_shaders()
168 for (int idx = 0; idx < link.num_varyings; ++idx) in etna_link_shaders()
172 cs->VS_OUTPUT_COUNT = 1 + link.num_varyings; /* position + varyings */ in etna_link_shaders()
178 for (int idx = 0; idx < link.num_varyings; ++idx) in etna_link_shaders()
210 VIVS_PS_INPUT_COUNT_COUNT(link.num_varyings + 1) | /* Number of inputs plus position */ in etna_link_shaders()
213 VIVS_PS_TEMP_REGISTER_CONTROL_NUM_TEMPS(MAX2(fs->num_temps, link.num_varyings + 1)); in etna_link_shaders()
219 VIVS_PS_INPUT_COUNT_COUNT(link.num_varyings + 2) | /* MSAA adds another input */ in etna_link_shaders()
222 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_nir.c1256 if (fsio->reg > info->num_varyings) in etna_link_shader()
1257 info->num_varyings = fsio->reg; in etna_link_shader()
1298 assert(info->num_varyings == fs->infile.num_reg); in etna_link_shader()
/third_party/mesa3d/src/compiler/nir/
Dnir_gather_xfb_info.c204 unsigned num_varyings = 0; in nir_gather_xfb_info_with_varyings() local
209 num_varyings += glsl_varying_count(var->type); in nir_gather_xfb_info_with_varyings()
212 if (num_outputs == 0 || num_varyings == 0) in nir_gather_xfb_info_with_varyings()
217 *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/imagination/rogue/
Drogue_build_data.h138 size_t num_varyings; /* Final number of varyings. */ member
Drogue_build_data.c356 vs_data->num_varyings = count_vs_varyings(&vs_data->outputs); in collect_io_data_vs()
/third_party/mesa3d/src/intel/blorp/
Dblorp_genX_exec.h224 const unsigned num_varyings = in emit_urb_config() local
226 const unsigned total_needed = 16 + 16 + num_varyings * 16; in emit_urb_config()
309 const unsigned num_varyings = in blorp_emit_input_varying_data() local
312 *size = 16 + num_varyings * vec4_size_in_bytes; in blorp_emit_input_varying_data()
352 assert(num_varyings == 1); in blorp_emit_input_varying_data()
437 const unsigned num_varyings = in blorp_emit_vertex_elements() local
440 const unsigned num_elements = 2 + need_ndc + num_varyings; in blorp_emit_vertex_elements()
554 for (unsigned i = 0; i < num_varyings; ++i) { in blorp_emit_vertex_elements()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_context.h92 int num_varyings; member
Dlima_draw.c768 if (ctx->vs->state.num_varyings) { in lima_pack_render_state()
970 if (vs->state.num_varyings) { in lima_update_varying()
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
Dnir.c511 prog->state.num_varyings++; in gpir_compile_nir()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_pipeline.c1402 varying0.f32_linear = vs_data->num_varyings; in pvr_vertex_state_init()