| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/ |
| iris_draw.c | 64 iris_update_draw_info(struct iris_context *ice, 67 struct iris_screen *screen = (struct iris_screen *)ice->ctx.screen; 70 if (ice->state.prim_mode != info->mode) { 71 ice->state.prim_mode = info->mode; 72 ice->state.dirty |= IRIS_DIRTY_VF_TOPOLOGY; 77 if (points_or_lines != ice->state.prim_is_points_or_lines) { 78 ice->state.prim_is_points_or_lines = points_or_lines; 79 ice->state.dirty |= IRIS_DIRTY_CLIP; 84 ice->state.vertices_per_patch != ice->state.patch_vertices) 266 struct iris_context *ice = (struct iris_context *) ctx; local 379 struct iris_context *ice = (struct iris_context *) ctx; local [all...] |
| iris_genx_protos.h | 31 void genX(init_state)(struct iris_context *ice); 33 void genX(emit_hashing_mode)(struct iris_context *ice, 37 void genX(emit_depth_state_workarounds)(struct iris_context *ice, 40 void genX(update_pma_fix)(struct iris_context *ice, 47 void genX(init_blorp)(struct iris_context *ice); 50 void genX(init_query)(struct iris_context *ice); 51 void genX(math_add32_gpr0)(struct iris_context *ice, 54 void genX(math_div32_gpr0)(struct iris_context *ice,
|
| iris_context.c | 46 struct iris_context *ice = (struct iris_context *)ctx; local 52 ice->dbg = *cb; 54 memset(&ice->dbg, 0, sizeof(ice->dbg)); 67 struct iris_context *ice = batch->ice; local 77 ice->state.dirty = ~0ull; 78 ice->state.stage_dirty = ~0ull; 79 ice->state.current_hash_scale = 0; 80 memset(&ice->shaders.urb, 0, sizeof(ice->shaders.urb)) 91 struct iris_context *ice = (struct iris_context *)ctx; local 126 struct iris_context *ice = (struct iris_context *)ctx; local 218 struct iris_context *ice = (struct iris_context *)ctx; local 284 struct iris_context *ice = rzalloc(NULL, struct iris_context); local [all...] |
| iris_measure.h | 37 void iris_init_batch_measure(struct iris_context *ice, 40 void iris_destroy_ctx_measure(struct iris_context *ice); 42 void iris_measure_frame_end(struct iris_context *ice); 43 void iris_measure_batch_end(struct iris_context *ice, struct iris_batch *batch); 44 void _iris_measure_snapshot(struct iris_context *ice, 51 #define iris_measure_snapshot(ice, batch, type, draw, indirect, start_count) \ 52 if (unlikely(((struct iris_screen *) ice->ctx.screen)->measure.config)) \ 53 _iris_measure_snapshot(ice, batch, type, draw, indirect, start_count)
|
| iris_binder.h | 52 void iris_init_binder(struct iris_context *ice); 54 uint32_t iris_binder_reserve(struct iris_context *ice, unsigned size); 55 void iris_binder_reserve_3d(struct iris_context *ice); 56 void iris_binder_reserve_compute(struct iris_context *ice);
|
| iris_binder.c | 68 binder_realloc(struct iris_context *ice) 70 struct iris_screen *screen = (void *) ice->ctx.screen; 72 struct iris_binder *binder = &ice->state.binder; 101 ice->state.dirty |= IRIS_DIRTY_RENDER_BUFFER; 102 ice->state.stage_dirty |= IRIS_ALL_STAGE_DIRTY_BINDINGS; 119 iris_binder_reserve(struct iris_context *ice, 122 struct iris_binder *binder = &ice->state.binder; 125 binder_realloc(ice); 138 iris_binder_reserve_3d(struct iris_context *ice) 140 struct iris_compiled_shader **shaders = ice->shaders.prog [all...] |
| iris_performance_query.c | 37 struct iris_context *ice = (void *) pipe; local 38 struct iris_screen *screen = (struct iris_screen *) ice->ctx.screen; 54 if (!ice->perf_ctx) 55 ice->perf_ctx = intel_perf_new_context(ice); 57 if (unlikely(!ice->perf_ctx)) 60 perf_cfg = intel_perf_config(ice->perf_ctx); 65 perf_cfg = intel_perf_new(ice->perf_ctx); 73 intel_perf_init_context(ice->perf_ctx, 75 ice, 88 struct iris_context *ice = (void *) pipe; local 108 struct iris_context *ice = (void *) pipe; local 119 struct iris_context *ice = (void *) pipe; local 131 struct iris_context *ice = (void *) pipe; local 148 struct iris_context *ice = (void *) pipe; local 171 struct iris_context *ice = (void *) pipe; local 190 struct iris_context *ice = (void *) pipe; local 202 struct iris_context *ice = (void *) pipe; local 223 struct iris_context *ice = (void *) pipe; local [all...] |
| iris_measure.c | 62 config_from_context(struct iris_context *ice) 64 return ((struct iris_screen *) ice->ctx.screen)->measure.config; 85 iris_init_batch_measure(struct iris_context *ice, struct iris_batch *batch) 87 const struct intel_measure_config *config = config_from_context(ice); 110 (uintptr_t)util_hash_crc32(&ice->state.framebuffer, 111 sizeof(ice->state.framebuffer)); 126 measure_start_snapshot(struct iris_context *ice, 133 const struct intel_measure_config *config = config_from_context(ice); 134 const struct iris_screen *screen = (void *) ice->ctx.screen; 179 snapshot->cs = (uintptr_t) ice->shaders.prog[MESA_SHADER_COMPUTE] [all...] |
| iris_border_color.c | 83 iris_init_border_color_pool(struct iris_context *ice) 85 struct iris_screen *screen = (void *) ice->ctx.screen; 88 struct iris_border_color_pool *pool = &ice->state.border_color_pool; 91 pool->ht = _mesa_hash_table_create(ice, color_hash, color_equals); 97 iris_destroy_border_color_pool(struct iris_context *ice) 99 struct iris_border_color_pool *pool = &ice->state.border_color_pool; 109 iris_border_color_pool_reserve(struct iris_context *ice, unsigned count) 111 struct iris_border_color_pool *pool = &ice->state.border_color_pool; 118 if (iris_batch_references(&ice->batches[i], pool->bo)) 119 iris_batch_flush(&ice->batches[i]) [all...] |
| iris_blorp.c | 135 struct iris_context *ice = blorp_batch->blorp->driver_ctx; local 138 return stream_state(batch, ice->state.dynamic_uploader, 161 struct iris_context *ice = blorp_batch->blorp->driver_ctx; local 162 struct iris_binder *binder = &ice->state.binder; 165 *bt_offset = iris_binder_reserve(ice, num_entries * sizeof(uint32_t)); 169 surface_maps[i] = stream_state(batch, ice->state.surface_uploader, 185 struct iris_context *ice = blorp_batch->blorp->driver_ctx; local 190 void *map = stream_state(batch, ice->ctx.const_uploader, size, 64, 214 struct iris_context *ice = blorp_batch->blorp->driver_ctx; local 222 if (high_bits != ice->state.last_vbo_high_bits[i]) 269 struct iris_context *ice = blorp_batch->blorp->driver_ctx; local 396 struct iris_context *ice = blorp_batch->blorp->driver_ctx; local [all...] |
| iris_monitor.c | 144 iris_init_monitor_ctx(struct iris_context *ice) 146 struct iris_screen *screen = (struct iris_screen *) ice->ctx.screen; 148 ice->perf_ctx = intel_perf_new_context(ice); 149 if (unlikely(!ice->perf_ctx)) 152 struct intel_perf_context *perf_ctx = ice->perf_ctx; 156 ice, 157 ice, 160 ice->batches[IRIS_BATCH_RENDER].hw_ctx_id, 166 iris_create_monitor_object(struct iris_context *ice, 235 struct iris_context *ice = (struct iris_context *)ctx; local 249 struct iris_context *ice = (void *) ctx; local 259 struct iris_context *ice = (void *) ctx; local 272 struct iris_context *ice = (void *) ctx; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/ |
| iris_draw.c | 60 iris_update_draw_info(struct iris_context *ice, 63 if (ice->state.prim_mode != info->mode) { 64 ice->state.prim_mode = info->mode; 65 ice->state.dirty |= IRIS_DIRTY_VF_TOPOLOGY; 70 if (points_or_lines != ice->state.prim_is_points_or_lines) { 71 ice->state.prim_is_points_or_lines = points_or_lines; 72 ice->state.dirty |= IRIS_DIRTY_CLIP; 77 ice->state.vertices_per_patch != info->vertices_per_patch) { 78 ice->state.vertices_per_patch = info->vertices_per_patch; 79 ice->state.dirty |= IRIS_DIRTY_VF_TOPOLOGY 139 struct iris_context *ice = (struct iris_context *) ctx; local 233 struct iris_context *ice = (struct iris_context *) ctx; local [all...] |
| iris_binder.h | 52 void iris_init_binder(struct iris_context *ice); 54 uint32_t iris_binder_reserve(struct iris_context *ice, unsigned size); 55 void iris_binder_reserve_3d(struct iris_context *ice); 56 void iris_binder_reserve_compute(struct iris_context *ice);
|
| iris_context.c | 58 struct iris_context *ice = (struct iris_context *)ctx; local 61 ice->dbg = *cb; 63 memset(&ice->dbg, 0, sizeof(ice->dbg)); 107 struct iris_context *ice = (struct iris_context *)ctx; local 112 ice->vtbl.destroy_state(ice); 113 iris_destroy_program_cache(ice); 114 iris_destroy_border_color_pool(ice); 115 u_upload_destroy(ice->state.surface_uploader) 156 struct iris_context *ice = rzalloc(NULL, struct iris_context); local [all...] |
| iris_binder.c | 68 binder_realloc(struct iris_context *ice) 70 struct iris_screen *screen = (void *) ice->ctx.screen; 72 struct iris_binder *binder = &ice->state.binder; 101 ice->state.dirty |= IRIS_ALL_DIRTY_BINDINGS; 118 iris_binder_reserve(struct iris_context *ice, 121 struct iris_binder *binder = &ice->state.binder; 124 binder_realloc(ice); 137 iris_binder_reserve_3d(struct iris_context *ice) 139 struct iris_compiled_shader **shaders = ice->shaders.prog; 140 struct iris_binder *binder = &ice->state.binder [all...] |
| iris_pipe_control.c | 151 struct iris_context *ice = (void *) ctx; local 152 struct iris_batch *render_batch = &ice->batches[IRIS_BATCH_RENDER]; 153 struct iris_batch *compute_batch = &ice->batches[IRIS_BATCH_COMPUTE]; 158 iris_emit_pipe_control_flush(&ice->batches[IRIS_BATCH_RENDER], 162 iris_emit_pipe_control_flush(&ice->batches[IRIS_BATCH_RENDER], 167 iris_emit_pipe_control_flush(&ice->batches[IRIS_BATCH_COMPUTE], 169 iris_emit_pipe_control_flush(&ice->batches[IRIS_BATCH_COMPUTE], 177 struct iris_context *ice = (void *) ctx; local 197 if (ice->batches[i].contains_draw || 198 ice->batches[i].cache.render->entries [all...] |
| iris_program.c | 515 iris_debug_recompile(struct iris_context *ice, 520 struct iris_screen *screen = (struct iris_screen *) ice->ctx.screen; 526 c->shader_perf_log(&ice->dbg, "Recompiling %s shader for program %s: %s\n", 532 iris_find_previous_compile(ice, info->stage, program_string_id); 534 brw_debug_key_recompile(c, &ice->dbg, info->stage, old_key, key); 542 iris_compile_vs(struct iris_context *ice, 546 struct iris_screen *screen = (struct iris_screen *)ice->ctx.screen; 590 brw_compile_vs(compiler, &ice->dbg, mem_ctx, &key_no_ucp, vs_prog_data, 599 iris_debug_recompile(ice, &nir->info, key->program_string_id, key); 605 ice->vtbl.create_so_decl_list(&ish->stream_output 1506 struct iris_context *ice = (void *) ctx; local 1528 struct iris_context *ice = (void *) ctx; local 1558 struct iris_context *ice = (void *) ctx; local 1584 struct iris_context *ice = (void *) ctx; local 1604 struct iris_context *ice = (void *) ctx; local 1650 struct iris_context *ice = (void *) ctx; local 1676 struct iris_context *ice = (void *) ctx; local 1774 struct iris_context *ice = (struct iris_context *)ctx; local 1786 struct iris_context *ice = (struct iris_context *)ctx; local 1798 struct iris_context *ice = (struct iris_context *) ctx; local [all...] |
| iris_border_color.c | 83 iris_init_border_color_pool(struct iris_context *ice) 85 struct iris_screen *screen = (void *) ice->ctx.screen; 88 struct iris_border_color_pool *pool = &ice->state.border_color_pool; 91 pool->ht = _mesa_hash_table_create(ice, color_hash, color_equals); 97 iris_destroy_border_color_pool(struct iris_context *ice) 99 struct iris_border_color_pool *pool = &ice->state.border_color_pool; 109 iris_border_color_pool_reserve(struct iris_context *ice, unsigned count) 111 struct iris_border_color_pool *pool = &ice->state.border_color_pool; 118 if (iris_batch_references(&ice->batches[i], pool->bo)) 119 iris_batch_flush(&ice->batches[i]) [all...] |
| iris_clear.c | 40 iris_is_color_fast_clear_compatible(struct iris_context *ice, 44 struct iris_batch *batch = &ice->batches[IRIS_BATCH_RENDER]; 48 perf_debug(&ice->dbg, "Integer fast clear not enabled for %s", 68 can_fast_clear_color(struct iris_context *ice, 78 struct iris_batch *batch = &ice->batches[IRIS_BATCH_RENDER]; 113 if (!iris_is_color_fast_clear_compatible(ice, format, color)) 120 convert_fast_clear_color(struct iris_context *ice, 198 fast_clear_color(struct iris_context *ice, 206 struct iris_batch *batch = &ice->batches[IRIS_BATCH_RENDER]; 211 color = convert_fast_clear_color(ice, res, format, color) 572 struct iris_context *ice = (void *) ctx; local 627 struct iris_context *ice = (void *) ctx; local 692 struct iris_context *ice = (void *) ctx; local 726 struct iris_context *ice = (void *) ctx; local [all...] |
| iris_query.c | 98 #define emit_lri32 ice->vtbl.load_register_imm32 99 #define emit_lri64 ice->vtbl.load_register_imm64 100 #define emit_lrr32 ice->vtbl.load_register_reg32 162 mark_available(struct iris_context *ice, struct iris_query *q) 164 struct iris_batch *batch = &ice->batches[q->batch_idx]; 171 ice->vtbl.store_data_imm64(batch, bo, offset, true); 198 write_value(struct iris_context *ice, struct iris_query *q, unsigned offset) 200 struct iris_batch *batch = &ice->batches[q->batch_idx]; 222 iris_pipelined_write(&ice->batches[IRIS_BATCH_RENDER], q, 230 iris_pipelined_write(&ice->batches[IRIS_BATCH_RENDER], q 775 struct iris_context *ice = (void *) ctx; local 820 struct iris_context *ice = (void *) ctx; local 871 struct iris_context *ice = (void *) ctx; local 908 struct iris_context *ice = (void *) ctx; local 989 struct iris_context *ice = (void *) ctx; local 1076 struct iris_context *ice = (void *) ctx; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/ |
| crocus_context.c | 45 struct crocus_context *ice = (struct crocus_context *)ctx; local 48 ice->dbg = *cb; 50 memset(&ice->dbg, 0, sizeof(ice->dbg)); 54 crocus_init_identifier_bo(struct crocus_context *ice) 58 bo_map = crocus_bo_map(NULL, ice->workaround_bo, MAP_READ | MAP_WRITE); 62 ice->workaround_bo->kflags |= EXEC_OBJECT_CAPTURE; 63 ice->workaround_offset = ALIGN( 66 crocus_bo_unmap(ice->workaround_bo); 86 struct crocus_context *ice = batch->ice local 105 struct crocus_context *ice = (struct crocus_context *)ctx; local 140 struct crocus_context *ice = (struct crocus_context *)ctx; local 189 struct crocus_context *ice = (struct crocus_context *)ctx; local 249 struct crocus_context *ice = rzalloc(NULL, struct crocus_context); local [all...] |
| crocus_genx_protos.h | 31 void genX(crocus_init_state)(struct crocus_context *ice); 37 void genX(crocus_update_pma_fix)(struct crocus_context *ice, 41 void genX(crocus_init_blorp)(struct crocus_context *ice); 44 void genX(crocus_init_query)(struct crocus_context *ice);
|
| crocus_draw.c | 59 can_cut_index_handle_restart_index(struct crocus_context *ice, 77 can_cut_index_handle_prim(struct crocus_context *ice, 80 struct crocus_screen *screen = (struct crocus_screen*)ice->ctx.screen; 87 if (!can_cut_index_handle_restart_index(ice, draw)) 115 crocus_update_draw_info(struct crocus_context *ice, 119 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen; 125 struct pipe_rasterizer_state *rs_state = crocus_get_rast_state(ice); 138 if (ice->state.prim_mode != mode) { 139 ice->state.prim_mode = mode; 142 if (ice->state.reduced_prim_mode != reduced) 370 struct crocus_context *ice = (struct crocus_context *) ctx; local 480 struct crocus_context *ice = (struct crocus_context *) ctx; local [all...] |
| crocus_program_cache.c | 85 crocus_find_cached_shader(struct crocus_context *ice, 91 _mesa_hash_table_search(ice->shaders.cache, keybox); 99 crocus_find_previous_compile(const struct crocus_context *ice, 103 hash_table_foreach(ice->shaders.cache, entry) { 139 crocus_cache_new_bo(struct crocus_context *ice, 142 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen; 149 if (ice->shaders.cache_next_offset != 0) { 150 memcpy(map, ice->shaders.cache_bo_map, ice->shaders.cache_next_offset); 153 crocus_bo_unmap(ice->shaders.cache_bo) 246 struct crocus_context *ice = blorp->driver_ctx; local 268 struct crocus_context *ice = blorp->driver_ctx; local [all...] |
| crocus_pipe_control.c | 189 batch->ice->workaround_bo, 190 batch->ice->workaround_offset, 0); 195 batch->ice->workaround_bo, 196 batch->ice->workaround_offset); 273 batch->ice->workaround_bo, 274 batch->ice->workaround_offset, 0); 298 struct crocus_context *ice = (void *) ctx; local 299 struct crocus_batch *render_batch = &ice->batches[CROCUS_BATCH_RENDER]; 300 struct crocus_batch *compute_batch = &ice->batches[CROCUS_BATCH_COMPUTE]; 334 struct crocus_context *ice = (void *) ctx local [all...] |