Searched defs:vue_map (Results 1 - 12 of 12) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_interpolation_map.c41 struct brw_vue_map *vue_map,
46 unsigned slot = vue_map->varying_to_slot[location + k];
61 brw_setup_vue_interpolation(struct brw_vue_map *vue_map, nir_shader *nir, argument
68 if (!vue_map)
74 unsigned pos_slot = vue_map->varying_to_slot[VARYING_SLOT_POS];
84 gen4_frag_prog_set_interp_modes(prog_data, vue_map, location, slot_count,
89 gen4_frag_prog_set_interp_modes(prog_data, vue_map, location,
97 for (int i = 0; i < vue_map->num_slots; i++) {
98 int varying = vue_map->slot_to_varying[i];
40 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 Dbrw_vue_map.c46 assign_vue_slot(struct brw_vue_map *vue_map, int varying, int slot) argument
49 assert (vue_map->varying_to_slot[varying] == -1);
51 vue_map->varying_to_slot[varying] = slot;
52 vue_map->slot_to_varying[slot] = varying;
60 struct brw_vue_map *vue_map,
84 vue_map->slots_valid = slots_valid;
85 vue_map->separate = separate;
92 /* Make sure that the values we store in vue_map->varying_to_slot and
93 * vue_map->slot_to_varying won't overflow the signed chars that are used
94 * to store them. Note that since vue_map
59 brw_compute_vue_map(const struct gen_device_info *devinfo, struct brw_vue_map *vue_map, GLbitfield64 slots_valid, bool separate) argument
199 brw_compute_tess_vue_map(struct brw_vue_map *vue_map, GLbitfield64 vertex_slots, GLbitfield patch_slots) argument
280 brw_print_vue_map(FILE *fp, const struct brw_vue_map *vue_map) argument
[all...]
H A Dbrw_ff_gs.h102 struct brw_vue_map vue_map; member in struct:brw_ff_gs_compile
H A Dgen6_sf_state.c58 get_attr_override(const struct brw_vue_map *vue_map, int urb_entry_read_offset, argument
62 int slot = vue_map->varying_to_slot[fs_attr];
73 if (!(vue_map->slots_valid & VARYING_BIT_LAYER))
75 if (!(vue_map->slots_valid & VARYING_BIT_VIEWPORT))
85 slot = vue_map->varying_to_slot[VARYING_SLOT_BFC0];
87 slot = vue_map->varying_to_slot[VARYING_SLOT_BFC1];
133 ((vue_map->slot_to_varying[slot] == VARYING_SLOT_COL0 &&
134 vue_map->slot_to_varying[slot+1] == VARYING_SLOT_BFC0) ||
135 (vue_map->slot_to_varying[slot] == VARYING_SLOT_COL1 &&
136 vue_map
[all...]
H A Dbrw_clip.h132 struct brw_vue_map vue_map; member in struct:brw_clip_compile
H A Dbrw_sf.h101 struct brw_vue_map vue_map; member in struct:brw_sf_compile
H A Dbrw_wm.c127 struct brw_vue_map *vue_map)
192 true, brw->use_rep_send, vue_map,
643 struct brw_vue_map vue_map; local
645 brw_compute_vue_map(&brw->screen->devinfo, &vue_map,
650 bool success = brw_codegen_wm_prog(brw, bfp, &key, &vue_map);
124 brw_codegen_wm_prog(struct brw_context *brw, struct brw_program *fp, struct brw_wm_prog_key *key, struct brw_vue_map *vue_map) argument
H A Dgen7_sol_state.c99 const struct brw_vue_map *vue_map)
150 decl |= vue_map->varying_to_slot[VARYING_SLOT_PSIZ] <<
153 assert(vue_map->varying_to_slot[varying] >= 0);
154 decl |= vue_map->varying_to_slot[varying] <<
225 const struct brw_vue_map *vue_map)
238 int urb_entry_read_length = (vue_map->num_slots + 1) / 2 -
98 gen7_upload_3dstate_so_decl_list(struct brw_context *brw, const struct brw_vue_map *vue_map) argument
224 upload_3dstate_streamout(struct brw_context *brw, bool active, const struct brw_vue_map *vue_map) argument
H A Dbrw_nir.c123 remap_inputs_with_vue_map(nir_block *block, const struct brw_vue_map *vue_map) argument
133 int vue_slot = vue_map->varying_to_slot[intrin->const_index[0]];
198 const struct brw_vue_map *vue_map,
219 int vue_slot = vue_map->varying_to_slot[intrin->const_index[0]];
228 vue_map->num_per_vertex_slots;
237 vue_map->num_per_vertex_slots));
294 const struct brw_vue_map *vue_map)
312 remap_inputs_with_vue_map(block, vue_map);
320 brw_nir_lower_tes_inputs(nir_shader *nir, const struct brw_vue_map *vue_map) argument
338 remap_patch_urb_offsets(block, &b, vue_map,
197 remap_patch_urb_offsets(nir_block *block, nir_builder *b, const struct brw_vue_map *vue_map, GLenum tes_primitive_mode) argument
293 brw_nir_lower_vue_inputs(nir_shader *nir, bool is_scalar, const struct brw_vue_map *vue_map) argument
401 brw_nir_lower_tcs_outputs(nir_shader *nir, const struct brw_vue_map *vue_map, GLenum tes_primitive_mode) argument
[all...]
H A Dbrw_fs_visitor.cpp557 if (!(vue_prog_data->vue_map.slots_valid & VARYING_BIT_CLIP_VERTEX))
596 const struct brw_vue_map *vue_map = &vue_prog_data->vue_map; local
616 if (vue_map->slots_valid == 0) {
678 int last_slot = vue_map->num_slots - 1;
680 (vue_map->slot_to_varying[last_slot] == BRW_VARYING_SLOT_PAD ||
681 outputs[vue_map->slot_to_varying[last_slot]].file == BAD_FILE)) {
685 for (slot = 0; slot < vue_map->num_slots; slot++) {
686 int varying = vue_map->slot_to_varying[slot];
694 if ((vue_map
[all...]
H A Dbrw_compiler.h559 void brw_print_vue_map(FILE *fp, const struct brw_vue_map *vue_map);
574 GLuint brw_varying_to_offset(const struct brw_vue_map *vue_map, GLuint varying) argument
576 return brw_vue_slot_to_offset(vue_map->varying_to_slot[varying]);
580 struct brw_vue_map *vue_map,
584 void brw_compute_tess_vue_map(struct brw_vue_map *const vue_map,
589 void brw_setup_vue_interpolation(struct brw_vue_map *vue_map,
631 struct brw_vue_map vue_map; member in struct:brw_vue_prog_data
851 bool use_rep_send, struct brw_vue_map *vue_map,
/external/mesa3d/src/intel/vulkan/
H A Danv_pipeline.c272 const struct brw_vue_map *vue_map = local
273 &anv_pipeline_get_last_vue_prog_data(pipeline)->vue_map;
274 key->input_slots_valid = vue_map->slots_valid;
478 &prog_data.base.vue_map,
663 &tcs_prog_data.base.vue_map, &tes_prog_data, tes_nir,
736 &prog_data.base.vue_map,

Completed in 202 milliseconds