Searched refs:num_varyings (Results 1 - 15 of 15) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_shader.c92 for (int idx = 0; idx < link.num_varyings; ++idx)
103 if (link.num_varyings > 0 && link.varyings[link.num_varyings - 1].num_components <= 2)
109 cs->PA_ATTRIBUTE_ELEMENT_COUNT = VIVS_PA_ATTRIBUTE_ELEMENT_COUNT_COUNT(link.num_varyings);
110 for (int idx = 0; idx < link.num_varyings; ++idx)
114 cs->VS_OUTPUT_COUNT = 1 + link.num_varyings; /* position + varyings */
120 for (int idx = 0; idx < link.num_varyings; ++idx)
148 VIVS_PS_INPUT_COUNT_COUNT(link.num_varyings + 1) | /* Number of inputs plus position */
151 VIVS_PS_TEMP_REGISTER_CONTROL_NUM_TEMPS(MAX2(fs->num_temps, link.num_varyings + 1));
158 VIVS_PS_INPUT_COUNT_COUNT(link.num_varyings
[all...]
H A Detnaviv_compiler.h119 unsigned num_varyings; member in struct:etna_shader_link_info
H A Detnaviv_compiler.c195 int num_varyings; member in struct:etna_compile
2058 c->num_varyings = native_idx - 1;
2090 assert(sf->num_reg == c->num_varyings);
2251 if (c->num_varyings > c->specs->max_varyings) {
2252 DBG("Number of varyings (%d) exceeds maximum %d", c->num_varyings,
2567 if (fsio->reg > info->num_varyings)
2568 info->num_varyings = fsio->reg;
2601 assert(info->num_varyings == fs->infile.num_reg);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_shader.c152 for (int idx = 0; idx < link.num_varyings; ++idx)
163 if (link.num_varyings > 0 && link.varyings[link.num_varyings - 1].num_components <= 2)
169 cs->PA_ATTRIBUTE_ELEMENT_COUNT = VIVS_PA_ATTRIBUTE_ELEMENT_COUNT_COUNT(link.num_varyings);
170 for (int idx = 0; idx < link.num_varyings; ++idx)
174 cs->VS_OUTPUT_COUNT = 1 + link.num_varyings; /* position + varyings */
180 for (int idx = 0; idx < link.num_varyings; ++idx)
212 VIVS_PS_INPUT_COUNT_COUNT(link.num_varyings + 1) | /* Number of inputs plus position */
215 VIVS_PS_TEMP_REGISTER_CONTROL_NUM_TEMPS(MAX2(fs->num_temps, link.num_varyings + 1));
221 VIVS_PS_INPUT_COUNT_COUNT(link.num_varyings
[all...]
H A Detnaviv_compiler.h144 unsigned num_varyings; member in struct:etna_shader_link_info
H A Detnaviv_compiler_tgsi.c195 int num_varyings; member in struct:etna_compile
2121 c->num_varyings = native_idx - 1;
2158 assert(sf->num_reg == c->num_varyings);
2289 if (c->num_varyings > c->specs->max_varyings) {
2290 DBG("Number of varyings (%d) exceeds maximum %d", c->num_varyings,
2554 if (fsio->reg > info->num_varyings)
2555 info->num_varyings = fsio->reg;
2590 assert(info->num_varyings == fs->infile.num_reg);
H A Detnaviv_compiler_nir.c1247 if (fsio->reg > info->num_varyings)
1248 info->num_varyings = fsio->reg;
1289 assert(info->num_varyings == fs->infile.num_reg);
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_gather_xfb_info.c203 unsigned num_varyings = 0; local in function:nir_gather_xfb_info_with_varyings
208 num_varyings += glsl_varying_count(var->type);
211 if (num_outputs == 0 || num_varyings == 0)
216 *varyings_info_out = nir_xfb_varyings_info_create(mem_ctx, num_varyings);
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_gather_xfb_info.c203 unsigned num_varyings = 0; local in function:nir_gather_xfb_info_with_varyings
208 num_varyings += glsl_varying_count(var->type);
211 if (num_outputs == 0 || num_varyings == 0)
216 *varyings_info_out = nir_xfb_varyings_info_create(mem_ctx, num_varyings);
/xsrc/external/mit/MesaLib/dist/src/freedreno/decode/
H A Dpgmdump.c53 uint32_t num_varyings; member in struct:pgm_header
393 for (i = 0; i < state->hdr->num_varyings; i++) {
714 printf("\tvaryings: %d\n", state->hdr->num_varyings);
799 for (i = 0; (i < state->hdr->num_varyings) && (state->sz > 0); i++) {
820 for (i = 0; (i < state->hdr->num_varyings) && (state->sz > 0); i++) {
/xsrc/external/mit/MesaLib.old/dist/src/intel/blorp/
H A Dblorp_genX_exec.h199 const unsigned num_varyings = local in function:emit_urb_config
201 const unsigned total_needed = 16 + 16 + num_varyings * 16;
247 const unsigned num_varyings = local in function:blorp_emit_input_varying_data
250 *size = 16 + num_varyings * vec4_size_in_bytes;
290 assert(num_varyings == 1);
372 const unsigned num_varyings = local in function:blorp_emit_vertex_elements
375 const unsigned num_elements = 2 + need_ndc + num_varyings;
489 for (unsigned i = 0; i < num_varyings; ++i) {
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/
H A Dlima_context.h88 int num_varyings; member in struct:lima_vs_compiled_shader::__anona2ef69930308
H A Dlima_draw.c771 if (ctx->vs->state.num_varyings) {
973 if (vs->state.num_varyings) {
/xsrc/external/mit/MesaLib/dist/src/intel/blorp/
H A Dblorp_genX_exec.h216 const unsigned num_varyings = local in function:emit_urb_config
218 const unsigned total_needed = 16 + 16 + num_varyings * 16;
301 const unsigned num_varyings = local in function:blorp_emit_input_varying_data
304 *size = 16 + num_varyings * vec4_size_in_bytes;
344 assert(num_varyings == 1);
429 const unsigned num_varyings = local in function:blorp_emit_vertex_elements
432 const unsigned num_elements = 2 + need_ndc + num_varyings;
546 for (unsigned i = 0; i < num_varyings; ++i) {
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/ir/gp/
H A Dnir.c514 prog->state.num_varyings++;

Completed in 31 milliseconds