Lines Matching defs:binding

104     * binding tables.
242 * SURFACE_STATE objects and binding tables. From the Broadwell PRM,
268 * regards to surface state and binding tables. In stead, it seems that
274 * units cache the binding table in the texture cache. However, we have
1304 assert(image->planes[plane].fast_clear_memory_range.binding ==
1308 if (image->planes[plane].aux_surface.memory_range.binding ==
2594 struct anv_pipeline_binding *binding = &map->surface_to_descriptor[s];
2598 switch (binding->set) {
2604 /* Color attachment binding */
2606 if (binding->index < cmd_buffer->state.gfx.color_att_count) {
2608 &cmd_buffer->state.gfx.color_att[binding->index];
2643 /* This is always the first binding for compute shaders */
2669 * given by binding->binding. (Yes, that's confusing.)
2672 pipe_state->descriptors[binding->index];
2682 assert(binding->set < MAX_SETS);
2684 pipe_state->descriptors[binding->set];
2685 if (binding->index >= set->descriptor_count) {
2690 * than or equal to the size of that binding in the bound
2694 * when a dynamic binding isn't used so it may grab the whole
2695 * array and stick it in the binding table. In this case, it's
2698 assert(binding->index < set->layout->descriptor_count);
2701 const struct anv_descriptor *desc = &set->descriptors[binding->index];
2715 desc->image_view->planes[binding->plane].general_sampler_surface_state :
2716 desc->image_view->planes[binding->plane].optimal_sampler_surface_state;
2730 binding->lowered_storage_surface
2731 ? desc->image_view->planes[binding->plane].lowered_storage_surface_state
2732 : desc->image_view->planes[binding->plane].storage_surface_state;
2789 push->dynamic_offsets[binding->dynamic_offset_index];
2827 surface_state = binding->lowered_storage_surface
2873 struct anv_pipeline_binding *binding = &map->sampler_to_descriptor[s];
2875 &pipe_state->descriptors[binding->set]->descriptors[binding->index];
2890 sampler->state[binding->plane], sizeof(sampler->state[0]));
2938 * address before we start emitting binding tables etc.
2942 /* Re-emit all active binding tables */
3002 /* Always emit binding table pointers if we're asked to, since on SKL
3021 * actually given by binding->binding. (Yes, that's
3120 /* Here we promote a UBO to a binding table entry so that we can avoid a layer of indirection.
3121 * We use the descriptor set's internally allocated surface state to fill the binding table entry.
3996 /* Render targets live in the same binding table as fragment descriptors */
4000 /* We emit the binding tables and sampler tables first, then emit push
4001 * constants and then finally emit binding table and sampler table
4002 * pointers. It has to happen in this order, since emitting the binding
5469 /* The num_workgroups buffer goes in the binding table */
5521 /* The num_workgroups buffer goes in the binding table */
6100 * "The VF cache needs to be invalidated before binding and then using
6112 * tracking code of the new binding. If this new binding would cause