| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| brw_interpolation_map.c | 96 int varying = vue_map->slot_to_varying[i]; local 97 if (varying == -1) { 103 i, varying,
|
| brw_vue_map.c | 47 assign_vue_slot(struct brw_vue_map *vue_map, int varying, int slot) 49 /* Make sure this varying hasn't been assigned a slot already */ 50 assert (vue_map->varying_to_slot[varying] == -1); 52 vue_map->varying_to_slot[varying] = slot; 53 vue_map->slot_to_varying[slot] = varying; 89 /* gl_Layer and gl_ViewportIndex don't get their own varying slots -- they 178 * requires that all shaders have matching built-in varying interface 189 const int varying = ffsll(builtins) - 1; local 190 if (vue_map->varying_to_slot[varying] == -1) { 191 assign_vue_slot(vue_map, varying, slot++) 199 const int varying = ffsll(generics) - 1; local 257 const int varying = ffsll(patch_slots) - 1; local 269 const int varying = ffsll(vertex_slots) - 1; local [all...] |
| brw_clip_util.c | 242 int varying = c->vue_map.slot_to_varying[slot]; local 246 if (varying == VARYING_SLOT_POS || varying == BRW_VARYING_SLOT_NDC) 250 if (varying == VARYING_SLOT_EDGE) { 255 } else if (varying == VARYING_SLOT_PSIZ) { 259 } else if (varying < VARYING_SLOT_MAX) {
|
| gfx6_gs_visitor.cpp | 144 int varying = prog_data->vue_map.slot_to_varying[slot]; local 145 if (varying != VARYING_SLOT_PSIZ) { 149 emit_urb_slot(dst, varying); 163 emit_urb_slot(tmp, varying); 400 int varying = prog_data->vue_map.slot_to_varying[slot]; local 401 current_annotation = output_reg_annotation[varying]; 413 reg.type = output_reg[varying][0].type; 619 /* For each vertex, generate code to output each varying using the 623 unsigned char varying = local 641 /* Compute offset of this varying for the current verte [all...] |
| brw_compile_ff_gs.c | 444 /* For each vertex, generate code to output each varying using the 454 unsigned char varying = local 456 unsigned char slot = c->vue_map.varying_to_slot[varying]; 470 vertex_slot.swizzle = varying == VARYING_SLOT_PSIZ
|
| brw_nir.c | 329 int varying = nir_intrinsic_base(intrin); local 331 switch (varying) { 338 vue_slot = vue_map->varying_to_slot[varying]; 1273 /* The subgroup size is allowed to be fully varying. For geometry 1280 * that's a risk the client took when it asked for a varying subgroup 1515 const int varying = ffsll(varyings) - 1; local 1517 load = nir_load_per_vertex_input(&b, 4, 32, invoc_id, zero, .base = varying); 1520 .base = varying, 1523 varyings &= ~BITFIELD64_BIT(varying);
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/ |
| brw_interpolation_map.c | 96 int varying = vue_map->slot_to_varying[i]; local 97 if (varying == -1) { 103 i, varying,
|
| brw_vue_map.c | 47 assign_vue_slot(struct brw_vue_map *vue_map, int varying, int slot) 49 /* Make sure this varying hasn't been assigned a slot already */ 50 assert (vue_map->varying_to_slot[varying] == -1); 52 vue_map->varying_to_slot[varying] = slot; 53 vue_map->slot_to_varying[slot] = varying; 88 /* gl_Layer and gl_ViewportIndex don't get their own varying slots -- they 161 * requires that all shaders have matching built-in varying interface 172 const int varying = ffsll(builtins) - 1; local 173 if (vue_map->varying_to_slot[varying] == -1) { 174 assign_vue_slot(vue_map, varying, slot++) 182 const int varying = ffsll(generics) - 1; local 240 const int varying = ffsll(patch_slots) - 1; local 252 const int varying = ffsll(vertex_slots) - 1; local [all...] |
| brw_clip_util.c | 242 int varying = c->vue_map.slot_to_varying[slot]; local 246 if (varying == VARYING_SLOT_POS || varying == BRW_VARYING_SLOT_NDC) 250 if (varying == VARYING_SLOT_EDGE) { 255 } else if (varying == VARYING_SLOT_PSIZ) { 259 } else if (varying < VARYING_SLOT_MAX) {
|
| gen6_gs_visitor.cpp | 146 int varying = prog_data->vue_map.slot_to_varying[slot]; local 147 if (varying != VARYING_SLOT_PSIZ) { 151 emit_urb_slot(dst, varying); 165 emit_urb_slot(tmp, varying); 402 int varying = prog_data->vue_map.slot_to_varying[slot]; local 403 current_annotation = output_reg_annotation[varying]; 415 reg.type = output_reg[varying][0].type; 658 /* For each vertex, generate code to output each varying using the 662 unsigned char varying = local 680 /* Compute offset of this varying for the current verte [all...] |
| brw_nir.c | 371 int varying = nir_intrinsic_base(intrin); local 373 switch (varying) { 380 vue_slot = vue_map->varying_to_slot[varying]; 1123 const int varying = ffsll(varyings) - 1; local 1131 nir_intrinsic_set_base(load, varying); 1140 nir_intrinsic_set_base(store, varying); 1144 varyings &= ~BITFIELD64_BIT(varying);
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| gl_nir_link_xfb.c | 150 struct gl_transform_feedback_varying_info *varying = local 154 varying->Name = NULL; 155 varying->Type = glsl_get_gl_type(xfb_varying->type); 156 varying->BufferIndex = buffer_index; 157 varying->Size = glsl_type_is_array(xfb_varying->type) ? 159 varying->Offset = xfb_varying->offset;
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| gl_nir_link_xfb.c | 153 struct gl_transform_feedback_varying_info *varying = local 157 varying->Name = NULL; 158 varying->Type = glsl_get_gl_type(xfb_varying->type); 159 varying->BufferIndex = buffer_index; 160 varying->Size = glsl_type_is_array(xfb_varying->type) ? 162 varying->Offset = xfb_varying->offset;
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/ |
| brw_ff_gs_emit.c | 415 /* For each vertex, generate code to output each varying using the 425 unsigned char varying = local 427 unsigned char slot = c->vue_map.varying_to_slot[varying]; 441 vertex_slot.swizzle = varying == VARYING_SLOT_PSIZ
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/ |
| etnaviv_shader.c | 161 /* set last_varying_2x flag if the last varying has 1 or 2 components */ 230 const struct etna_varying *varying = &link.varyings[idx]; local 232 etna_bitarray_set(num_components, 4, idx, varying->num_components); 233 for (int comp = 0; comp < varying->num_components; ++comp) { 234 etna_bitarray_set(component_use, 2, total_components, varying->use[comp]);
|
| etnaviv_compiler_nir.c | 1242 struct etna_varying *varying; local 1250 varying = &info->varyings[fsio->reg - 1]; 1251 varying->num_components = fsio->num_components; 1254 varying->pa_attributes = 0x200; 1256 varying->pa_attributes = 0x2f1; 1258 varying->use[0] = VARYING_COMPONENT_USE_UNUSED; 1259 varying->use[1] = VARYING_COMPONENT_USE_UNUSED; 1260 varying->use[2] = VARYING_COMPONENT_USE_UNUSED; 1261 varying->use[3] = VARYING_COMPONENT_USE_UNUSED; 1264 * so it gets a varying slot without being assigned a VS register [all...] |
| /xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/ |
| panvk_varyings.h | 63 struct panvk_varying varying[VARYING_SLOT_MAX]; member in struct:panvk_varyings_info 134 return util_format_get_blocksize(varyings->varying[loc].format);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/ |
| etnaviv_shader.c | 101 /* set last_varying_2x flag if the last varying has 1 or 2 components */ 167 const struct etna_varying *varying = &link.varyings[idx]; local 169 etna_bitarray_set(num_components, 4, idx, varying->num_components); 170 for (int comp = 0; comp < varying->num_components; ++comp) { 171 etna_bitarray_set(component_use, 2, total_components, varying->use[comp]);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/ |
| d3d12_lower_point_sprite.c | 45 nir_ssa_def *varying[VARYING_SLOT_MAX]; member in struct:lower_state 144 state->varying[var->data.location] = instr->src[1].ssa; 169 if (state->varying[slot] != NULL) { 170 nir_store_var(b, state->varying_out[slot], state->varying[slot], 206 state->varying[i] = NULL;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/ir/gp/ |
| nir.c | 492 struct lima_varying_info *v = prog->state.varying + var->data.driver_location; 497 bool varying = true; local 501 varying = false; 505 varying = false; 509 struct lima_varying_info *v = prog->state.varying + var->data.driver_location; 513 if (varying)
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/ir/pp/ |
| disasm.c | 121 print_varying_source(ppir_codegen_field_varying *varying, FILE *fp) 123 switch (varying->imm.alignment) { 125 fprintf(fp, "%u.%c", varying->imm.index >> 2, 126 "xyzw"[varying->imm.index & 3]); 130 fprintf(fp, "%u.%s", varying->imm.index >> 1, c[varying->imm.index & 1]); 134 fprintf(fp, "%u", varying->imm.index); 138 if (varying->imm.offset_vector != 15) { 139 unsigned reg = (varying->imm.offset_vector << 2) + 140 varying->imm.offset_scalar 200 ppir_codegen_field_varying *varying = code; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/lima/ir/pp/ |
| disasm.c | 174 ppir_codegen_field_varying *varying = code; local 178 bool perspective = varying->imm.source_type < 2 && varying->imm.perspective; 182 switch (varying->imm.perspective) 198 switch (varying->imm.dest) 204 printf("$%u", varying->imm.dest); 207 print_mask(varying->imm.mask); 210 switch (varying->imm.source_type) { 212 print_vector_source(varying->reg.source, NULL, varying->reg.swizzle [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/tnl/ |
| t_split_copy.c | 73 } varying[VERT_ATTRIB_MAX]; member in struct:copy_context 256 const struct tnl_vertex_array *srcarray = copy->varying[i].array; 260 = copy->varying[i].src_ptr + elt * srcbinding->Stride; 262 memcpy(csr, srcptr, copy->varying[i].size); 263 csr += copy->varying[i].size; 279 printf(" varying %d: ", i); 280 for (j = 0; j < copy->varying[i].size / 4; j++) 429 /* Make a list of varying attributes and their vbo's. Also 446 copy->varying[j].attr = i; 447 copy->varying[j].array = ©->array[i] [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl/ |
| t_split_copy.c | 73 } varying[VERT_ATTRIB_MAX]; member in struct:copy_context 262 const struct tnl_vertex_array *srcarray = copy->varying[i].array; 266 = copy->varying[i].src_ptr + elt * srcbinding->Stride; 268 memcpy(csr, srcptr, copy->varying[i].size); 269 csr += copy->varying[i].size; 285 printf(" varying %d: ", i); 286 for (j = 0; j < copy->varying[i].size / 4; j++) 435 /* Make a list of varying attributes and their vbo's. Also 452 copy->varying[j].attr = i; 453 copy->varying[j].array = ©->array[i] [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/decode/ |
| pgmdump.c | 74 // varying, attribute, uniform, sampler 205 struct varying { struct 240 struct varying *varyings[32]; 354 dump_varying(struct varying *varying) 356 printf("\tR%d: %s\n", varying->reg, varying->name); 385 /* dump attr/uniform/sampler/varying/const summary: */ 392 /* dump attr/uniform/sampler/varying/const summary: */ 812 printf("######## VARYING: (size %d)\n", sect_size) [all...] |