| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| H A D | brw_vue_map.c | 47 assign_vue_slot(struct brw_vue_map *vue_map, int varying, int slot) argument 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; 61 struct brw_vue_map *vue_map, 86 vue_map->slots_valid = slots_valid; 87 vue_map->separate = separate; 94 /* Make sure that the values we store in vue_map->varying_to_slot and 95 * vue_map->slot_to_varying won't overflow the signed chars that are used 96 * to store them. Note that since vue_map 60 brw_compute_vue_map(const struct intel_device_info * devinfo,struct brw_vue_map * vue_map,uint64_t slots_valid,bool separate,uint32_t pos_slots) argument 217 brw_compute_tess_vue_map(struct brw_vue_map * vue_map,uint64_t vertex_slots,uint32_t patch_slots) argument 298 brw_print_vue_map(FILE * fp,const struct brw_vue_map * vue_map,gl_shader_stage stage) argument [all...] |
| H A D | brw_interpolation_map.c | 40 const struct brw_vue_map *vue_map, 45 unsigned slot = vue_map->varying_to_slot[location + k]; 60 brw_setup_vue_interpolation(const struct brw_vue_map *vue_map, nir_shader *nir, argument 66 if (!vue_map) 72 unsigned pos_slot = vue_map->varying_to_slot[VARYING_SLOT_POS]; 82 gfx4_frag_prog_set_interp_modes(prog_data, vue_map, location, slot_count, 87 gfx4_frag_prog_set_interp_modes(prog_data, vue_map, location, 95 for (int i = 0; i < vue_map->num_slots; i++) { 96 int varying = vue_map->slot_to_varying[i]; 39 gfx4_frag_prog_set_interp_modes(struct brw_wm_prog_data * prog_data,const struct brw_vue_map * vue_map,unsigned location,unsigned slot_count,enum glsl_interp_mode interp) argument
|
| H A D | brw_compile_clip.c | 33 struct brw_vue_map *vue_map, 46 c.vue_map = *vue_map; 53 c.nr_regs = (c.vue_map.num_slots + 1)/2; 29 brw_compile_clip(const struct brw_compiler * compiler,void * mem_ctx,const struct brw_clip_prog_key * key,struct brw_clip_prog_data * prog_data,struct brw_vue_map * vue_map,unsigned * final_assembly_size) argument
|
| H A D | brw_clip_util.c | 105 GLuint hpos_offset = brw_varying_to_offset(&c->vue_map, VARYING_SLOT_POS); 106 GLuint ndc_offset = brw_varying_to_offset(&c->vue_map, 154 GLuint offset = brw_varying_to_offset(&c->vue_map, 165 GLuint delta = brw_varying_to_offset(&c->vue_map, VARYING_SLOT_POS); 180 GLuint delta = brw_varying_to_offset(&c->vue_map, 241 for (slot = 0; slot < c->vue_map.num_slots; slot++) { 242 int varying = c->vue_map.slot_to_varying[slot]; 300 if (c->vue_map.num_slots % 2) { 301 GLuint delta = brw_vue_slot_to_offset(c->vue_map.num_slots); 401 for (int i = 0; i < c->vue_map [all...] |
| H A D | brw_clip_unfilled.c | 48 GLuint hpos_offset = brw_varying_to_offset(&c->vue_map, VARYING_SLOT_POS); 157 brw_varying_to_offset(&c->vue_map, 160 brw_varying_to_offset(&c->vue_map, 167 brw_varying_to_offset(&c->vue_map, 170 brw_varying_to_offset(&c->vue_map, 246 brw_varying_to_offset(&c->vue_map, 254 brw_varying_to_offset(&c->vue_map, 268 GLuint ndc_offset = brw_varying_to_offset(&c->vue_map, 328 deref_1f(v0, brw_varying_to_offset(&c->vue_map, 371 deref_1f(v0, brw_varying_to_offset(&c->vue_map, [all...] |
| H A D | gfx6_gs_visitor.cpp | 56 * For each emitted vertex, vertex_output will hold vue_map.num_slots 66 (prog_data->vue_map.num_slots + 1) * 143 for (int slot = 0; slot < prog_data->vue_map.num_slots; ++slot) { 144 int varying = prog_data->vue_map.slot_to_varying[slot]; 266 brw_imm_d(prog_data->vue_map.num_slots))); 399 for (; slot < prog_data->vue_map.num_slots; ++slot) { 400 int varying = prog_data->vue_map.slot_to_varying[slot]; 432 complete = slot >= prog_data->vue_map.num_slots; 685 int slot = prog_data->vue_map.varying_to_slot[varying]; 698 return vertex * (prog_data->vue_map [all...] |
| H A D | brw_compile_sf.c | 69 struct brw_vue_map vue_map; member in struct:brw_sf_compile 90 return c->vue_map.slot_to_varying[vue_slot]; 113 int vue_slot = c->vue_map.varying_to_slot[varying]; 191 for (i = 0; i < c->vue_map.num_slots; i++) { 205 for (i = 0; i < c->vue_map.num_slots; i++) 807 struct brw_vue_map *vue_map, 818 c.vue_map = *vue_map; 822 * not included in c.vue_map generated in VS stage. Here we add 826 c.vue_map 803 brw_compile_sf(const struct brw_compiler * compiler,void * mem_ctx,const struct brw_sf_prog_key * key,struct brw_sf_prog_data * prog_data,struct brw_vue_map * vue_map,unsigned * final_assembly_size) argument [all...] |
| H A D | brw_clip.h | 99 struct brw_vue_map vue_map; member in struct:brw_clip_compile
|
| H A D | brw_fs_visitor.cpp | 763 const struct brw_vue_map *vue_map = &vue_prog_data->vue_map; local in function:fs_visitor::emit_urb_writes 817 int last_slot = vue_map->num_slots - 1; 819 (vue_map->slot_to_varying[last_slot] == BRW_VARYING_SLOT_PAD || 820 outputs[vue_map->slot_to_varying[last_slot]].file == BAD_FILE)) { 825 for (slot = 0; slot < vue_map->num_slots; slot++) { 826 int varying = vue_map->slot_to_varying[slot]; 834 if ((vue_map->slots_valid & psiz_mask) == 0) { 844 if (vue_map->slots_valid & VARYING_BIT_LAYER) 849 if (vue_map [all...] |
| H A D | brw_vec4_tcs.cpp | 382 brw_compute_tess_vue_map(&vue_prog_data->vue_map, 388 brw_nir_lower_tcs_outputs(nir, &vue_prog_data->vue_map, 432 const int num_per_patch_slots = vue_prog_data->vue_map.num_per_patch_slots; 433 const int num_per_vertex_slots = vue_prog_data->vue_map.num_per_vertex_slots; 457 brw_print_vue_map(stderr, &vue_prog_data->vue_map, MESA_SHADER_TESS_CTRL);
|
| H A D | brw_compiler.h | 1201 void brw_print_vue_map(FILE *fp, const struct brw_vue_map *vue_map, 1217 GLuint brw_varying_to_offset(const struct brw_vue_map *vue_map, GLuint varying) argument 1219 return brw_vue_slot_to_offset(vue_map->varying_to_slot[varying]); 1223 struct brw_vue_map *vue_map, 1228 void brw_compute_tess_vue_map(struct brw_vue_map *const vue_map, 1233 void brw_setup_vue_interpolation(const struct brw_vue_map *vue_map, 1277 struct brw_vue_map vue_map; member in struct:brw_vue_prog_data 1598 struct brw_vue_map *vue_map, 1614 struct brw_vue_map *vue_map, 1627 const struct brw_vue_map *vue_map; member in struct:brw_compile_fs_params [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/ |
| H A D | brw_vue_map.c | 47 assign_vue_slot(struct brw_vue_map *vue_map, int varying, int slot) argument 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; 61 struct brw_vue_map *vue_map, 85 vue_map->slots_valid = slots_valid; 86 vue_map->separate = separate; 93 /* Make sure that the values we store in vue_map->varying_to_slot and 94 * vue_map->slot_to_varying won't overflow the signed chars that are used 95 * to store them. Note that since vue_map 60 brw_compute_vue_map(const struct gen_device_info * devinfo,struct brw_vue_map * vue_map,uint64_t slots_valid,bool separate) argument 200 brw_compute_tess_vue_map(struct brw_vue_map * vue_map,uint64_t vertex_slots,uint32_t patch_slots) argument 281 brw_print_vue_map(FILE * fp,const struct brw_vue_map * vue_map) argument [all...] |
| H A D | brw_interpolation_map.c | 40 struct brw_vue_map *vue_map, 45 unsigned slot = vue_map->varying_to_slot[location + k]; 60 brw_setup_vue_interpolation(struct brw_vue_map *vue_map, nir_shader *nir, argument 66 if (!vue_map) 72 unsigned pos_slot = vue_map->varying_to_slot[VARYING_SLOT_POS]; 82 gen4_frag_prog_set_interp_modes(prog_data, vue_map, location, slot_count, 87 gen4_frag_prog_set_interp_modes(prog_data, vue_map, location, 95 for (int i = 0; i < vue_map->num_slots; i++) { 96 int varying = vue_map->slot_to_varying[i]; 39 gen4_frag_prog_set_interp_modes(struct brw_wm_prog_data * prog_data,struct brw_vue_map * vue_map,unsigned location,unsigned slot_count,enum glsl_interp_mode interp) argument
|
| H A D | brw_compile_clip.c | 33 struct brw_vue_map *vue_map, 46 c.vue_map = *vue_map; 53 c.nr_regs = (c.vue_map.num_slots + 1)/2; 29 brw_compile_clip(const struct brw_compiler * compiler,void * mem_ctx,const struct brw_clip_prog_key * key,struct brw_clip_prog_data * prog_data,struct brw_vue_map * vue_map,unsigned * final_assembly_size) argument
|
| H A D | brw_clip_util.c | 105 GLuint hpos_offset = brw_varying_to_offset(&c->vue_map, VARYING_SLOT_POS); 106 GLuint ndc_offset = brw_varying_to_offset(&c->vue_map, 154 GLuint offset = brw_varying_to_offset(&c->vue_map, 165 GLuint delta = brw_varying_to_offset(&c->vue_map, VARYING_SLOT_POS); 180 GLuint delta = brw_varying_to_offset(&c->vue_map, 241 for (slot = 0; slot < c->vue_map.num_slots; slot++) { 242 int varying = c->vue_map.slot_to_varying[slot]; 300 if (c->vue_map.num_slots % 2) { 301 GLuint delta = brw_vue_slot_to_offset(c->vue_map.num_slots); 401 for (int i = 0; i < c->vue_map [all...] |
| H A D | brw_clip_unfilled.c | 48 GLuint hpos_offset = brw_varying_to_offset(&c->vue_map, VARYING_SLOT_POS); 157 brw_varying_to_offset(&c->vue_map, 160 brw_varying_to_offset(&c->vue_map, 167 brw_varying_to_offset(&c->vue_map, 170 brw_varying_to_offset(&c->vue_map, 246 brw_varying_to_offset(&c->vue_map, 254 brw_varying_to_offset(&c->vue_map, 268 GLuint ndc_offset = brw_varying_to_offset(&c->vue_map, 328 deref_1f(v0, brw_varying_to_offset(&c->vue_map, 371 deref_1f(v0, brw_varying_to_offset(&c->vue_map, [all...] |
| H A D | brw_compiler.h | 966 void brw_print_vue_map(FILE *fp, const struct brw_vue_map *vue_map); 981 GLuint brw_varying_to_offset(const struct brw_vue_map *vue_map, GLuint varying) argument 983 return brw_vue_slot_to_offset(vue_map->varying_to_slot[varying]); 987 struct brw_vue_map *vue_map, 991 void brw_compute_tess_vue_map(struct brw_vue_map *const vue_map, 996 void brw_setup_vue_interpolation(struct brw_vue_map *vue_map, 1037 struct brw_vue_map vue_map; member in struct:brw_vue_prog_data 1299 struct brw_vue_map *vue_map, 1315 struct brw_vue_map *vue_map, 1334 bool use_rep_send, struct brw_vue_map *vue_map, [all...] |
| H A D | gen6_gs_visitor.cpp | 56 * For each emitted vertex, vertex_output will hold vue_map.num_slots 66 (prog_data->vue_map.num_slots + 1) * 145 for (int slot = 0; slot < prog_data->vue_map.num_slots; ++slot) { 146 int varying = prog_data->vue_map.slot_to_varying[slot]; 268 brw_imm_d(prog_data->vue_map.num_slots))); 401 for (; slot < prog_data->vue_map.num_slots; ++slot) { 402 int varying = prog_data->vue_map.slot_to_varying[slot]; 434 complete = slot >= prog_data->vue_map.num_slots; 724 int slot = prog_data->vue_map.varying_to_slot[varying]; 737 return vertex * (prog_data->vue_map [all...] |
| H A D | brw_compile_sf.c | 69 struct brw_vue_map vue_map; member in struct:brw_sf_compile 90 return c->vue_map.slot_to_varying[vue_slot]; 113 int vue_slot = c->vue_map.varying_to_slot[varying]; 191 for (i = 0; i < c->vue_map.num_slots; i++) { 205 for (i = 0; i < c->vue_map.num_slots; i++) 807 struct brw_vue_map *vue_map, 818 c.vue_map = *vue_map; 822 * not included in c.vue_map generated in VS stage. Here we add 826 c.vue_map 803 brw_compile_sf(const struct brw_compiler * compiler,void * mem_ctx,const struct brw_sf_prog_key * key,struct brw_sf_prog_data * prog_data,struct brw_vue_map * vue_map,unsigned * final_assembly_size) argument [all...] |
| H A D | brw_clip.h | 99 struct brw_vue_map vue_map; member in struct:brw_clip_compile
|
| H A D | brw_fs_visitor.cpp | 619 if (!(vue_prog_data->vue_map.slots_valid & VARYING_BIT_CLIP_VERTEX)) 658 const struct brw_vue_map *vue_map = &vue_prog_data->vue_map; local in function:fs_visitor::emit_urb_writes 712 int last_slot = vue_map->num_slots - 1; 714 (vue_map->slot_to_varying[last_slot] == BRW_VARYING_SLOT_PAD || 715 outputs[vue_map->slot_to_varying[last_slot]].file == BAD_FILE)) { 720 for (slot = 0; slot < vue_map->num_slots; slot++) { 721 int varying = vue_map->slot_to_varying[slot]; 729 if ((vue_map->slots_valid & psiz_mask) == 0) { 739 if (vue_map [all...] |
| H A D | brw_vec4_tcs.cpp | 396 brw_compute_tess_vue_map(&vue_prog_data->vue_map, 402 brw_nir_lower_tcs_outputs(nir, &vue_prog_data->vue_map, 426 const int num_per_patch_slots = vue_prog_data->vue_map.num_per_patch_slots; 427 const int num_per_vertex_slots = vue_prog_data->vue_map.num_per_vertex_slots; 458 brw_print_vue_map(stderr, &vue_prog_data->vue_map);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/ |
| H A D | brw_ff_gs.c | 59 c.vue_map = brw_vue_prog_data(brw->vs.base.prog_data)->vue_map; 60 c.nr_regs = (c.vue_map.num_slots + 1)/2; 180 key->attrs = brw_vue_prog_data(brw->vs.base.prog_data)->vue_map.slots_valid;
|
| H A D | brw_ff_gs.h | 102 struct brw_vue_map vue_map; member in struct:brw_ff_gs_compile
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/ |
| H A D | brw_ff_gs.c | 58 &brw_vue_prog_data(brw->vs.base.prog_data)->vue_map, 98 key->attrs = brw_vue_prog_data(brw->vs.base.prog_data)->vue_map.slots_valid;
|