Home
last modified time | relevance | path

Searched refs:ice (Results 1 - 25 of 54) sorted by relevance

123

/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_draw.c65 iris_update_draw_info(struct iris_context *ice, in iris_update_draw_info() argument
68 struct iris_screen *screen = (struct iris_screen *)ice->ctx.screen; in iris_update_draw_info()
72 if (ice->state.prim_mode != info->mode) { in iris_update_draw_info()
73 ice->state.prim_mode = info->mode; in iris_update_draw_info()
74 ice->state.dirty |= IRIS_DIRTY_VF_TOPOLOGY; in iris_update_draw_info()
79 if (points_or_lines != ice->state.prim_is_points_or_lines) { in iris_update_draw_info()
80 ice->state.prim_is_points_or_lines = points_or_lines; in iris_update_draw_info()
81 ice->state.dirty |= IRIS_DIRTY_CLIP; in iris_update_draw_info()
86 ice->state.vertices_per_patch != ice in iris_update_draw_info()
122 iris_update_draw_parameters(struct iris_context *ice, const struct pipe_draw_info *info, unsigned drawid_offset, const struct pipe_draw_indirect_info *indirect, const struct pipe_draw_start_count_bias *draw) iris_update_draw_parameters() argument
185 iris_indirect_draw_vbo(struct iris_context *ice, const struct pipe_draw_info *dinfo, unsigned drawid_offset, const struct pipe_draw_indirect_info *dindirect, const struct pipe_draw_start_count_bias *draw) iris_indirect_draw_vbo() argument
238 iris_simple_draw_vbo(struct iris_context *ice, const struct pipe_draw_info *draw, unsigned drawid_offset, const struct pipe_draw_indirect_info *indirect, const struct pipe_draw_start_count_bias *sc) iris_simple_draw_vbo() argument
271 struct iris_context *ice = (struct iris_context *) ctx; iris_draw_vbo() local
326 iris_update_grid_size_resource(struct iris_context *ice, const struct pipe_grid_info *grid) iris_update_grid_size_resource() argument
384 struct iris_context *ice = (struct iris_context *) ctx; iris_launch_grid() local
[all...]
H A Diris_context.c47 struct iris_context *ice = (struct iris_context *)ctx; in iris_set_debug_callback() local
53 ice->dbg = *cb; in iris_set_debug_callback()
55 memset(&ice->dbg, 0, sizeof(ice->dbg)); in iris_set_debug_callback()
68 struct iris_context *ice = batch->ice; in iris_lost_context_state() local
80 ice->state.dirty = ~0ull; in iris_lost_context_state()
81 ice->state.stage_dirty = ~0ull; in iris_lost_context_state()
82 ice->state.current_hash_scale = 0; in iris_lost_context_state()
83 memset(&ice in iris_lost_context_state()
95 struct iris_context *ice = (struct iris_context *)ctx; iris_get_device_reset_status() local
130 struct iris_context *ice = (struct iris_context *)ctx; iris_set_device_reset_callback() local
174 create_dirty_dmabuf_set(struct iris_context *ice) create_dirty_dmabuf_set() argument
183 iris_mark_dirty_dmabuf(struct iris_context *ice, struct pipe_resource *res) iris_mark_dirty_dmabuf() argument
193 clear_dirty_dmabuf_set(struct iris_context *ice) clear_dirty_dmabuf_set() argument
205 iris_flush_dirty_dmabufs(struct iris_context *ice) iris_flush_dirty_dmabufs() argument
221 struct iris_context *ice = (struct iris_context *)ctx; iris_destroy_context() local
292 struct iris_context *ice = rzalloc(NULL, struct iris_context); iris_create_context() local
[all...]
H A Diris_binder.c63 binder_realloc(struct iris_context *ice) in binder_realloc() argument
65 struct iris_screen *screen = (void *) ice->ctx.screen; in binder_realloc()
67 struct iris_binder *binder = &ice->state.binder; in binder_realloc()
91 ice->state.dirty |= IRIS_DIRTY_RENDER_BUFFER; in binder_realloc()
92 ice->state.stage_dirty |= IRIS_ALL_STAGE_DIRTY_BINDINGS; in binder_realloc()
110 iris_binder_reserve(struct iris_context *ice, in iris_binder_reserve() argument
113 struct iris_binder *binder = &ice->state.binder; in iris_binder_reserve()
116 binder_realloc(ice); in iris_binder_reserve()
129 iris_binder_reserve_3d(struct iris_context *ice) in iris_binder_reserve_3d() argument
131 struct iris_compiled_shader **shaders = ice in iris_binder_reserve_3d()
187 iris_binder_reserve_compute(struct iris_context *ice) iris_binder_reserve_compute() argument
205 iris_init_binder(struct iris_context *ice) iris_init_binder() argument
[all...]
H A Diris_clear.c39 iris_is_color_fast_clear_compatible(struct iris_context *ice, in iris_is_color_fast_clear_compatible() argument
43 struct iris_batch *batch = &ice->batches[IRIS_BATCH_RENDER]; in iris_is_color_fast_clear_compatible()
47 perf_debug(&ice->dbg, "Integer fast clear not enabled for %s\n", in iris_is_color_fast_clear_compatible()
67 can_fast_clear_color(struct iris_context *ice, in can_fast_clear_color() argument
96 ice->state.predicate == IRIS_PREDICATE_STATE_USE_BIT) { in can_fast_clear_color()
121 if (!iris_is_color_fast_clear_compatible(ice, res->surf.format, color)) in can_fast_clear_color()
164 fast_clear_color(struct iris_context *ice, in fast_clear_color() argument
170 struct iris_batch *batch = &ice->batches[IRIS_BATCH_RENDER]; in fast_clear_color()
209 iris_resource_prepare_access(ice, res, in fast_clear_color()
214 perf_debug(&ice in fast_clear_color()
306 clear_color(struct iris_context *ice, struct pipe_resource *p_res, unsigned level, const struct pipe_box *box, bool render_condition_enabled, enum isl_format format, struct isl_swizzle swizzle, union isl_color_value color) clear_color() argument
377 can_fast_clear_depth(struct iris_context *ice, struct iris_resource *res, unsigned level, const struct pipe_box *box, bool render_condition_enabled, float depth) can_fast_clear_depth() argument
422 fast_clear_depth(struct iris_context *ice, struct iris_resource *res, unsigned level, const struct pipe_box *box, float depth) fast_clear_depth() argument
511 clear_depth_stencil(struct iris_context *ice, struct pipe_resource *p_res, unsigned level, const struct pipe_box *box, bool render_condition_enabled, bool clear_depth, bool clear_stencil, float depth, uint8_t stencil) clear_depth_stencil() argument
622 struct iris_context *ice = (void *) ctx; iris_clear() local
678 struct iris_context *ice = (void *) ctx; iris_clear_texture() local
743 struct iris_context *ice = (void *) ctx; iris_clear_render_target() local
775 struct iris_context *ice = (void *) ctx; iris_clear_depth_stencil() local
[all...]
H A Diris_resolve.c46 disable_rb_aux_buffer(struct iris_context *ice, in disable_rb_aux_buffer() argument
52 struct pipe_framebuffer_state *cso_fb = &ice->state.framebuffer; in disable_rb_aux_buffer()
76 perf_debug(&ice->dbg, in disable_rb_aux_buffer()
85 resolve_sampler_views(struct iris_context *ice, in resolve_sampler_views() argument
100 disable_rb_aux_buffer(ice, draw_aux_buffer_disabled, isv->res, in resolve_sampler_views()
105 iris_resource_prepare_texture(ice, isv->res, isv->view.format, in resolve_sampler_views()
117 resolve_image_views(struct iris_context *ice, in resolve_image_views() argument
133 disable_rb_aux_buffer(ice, draw_aux_buffer_disabled, in resolve_image_views()
142 iris_image_view_aux_usage(ice, pview, info); in resolve_image_views()
144 iris_resource_prepare_access(ice, re in resolve_image_views()
161 iris_predraw_resolve_inputs(struct iris_context *ice, struct iris_batch *batch, bool *draw_aux_buffer_disabled, gl_shader_stage stage, bool consider_framebuffer) iris_predraw_resolve_inputs() argument
182 iris_predraw_resolve_framebuffer(struct iris_context *ice, struct iris_batch *batch, bool *draw_aux_buffer_disabled) iris_predraw_resolve_framebuffer() argument
274 iris_postdraw_update_resolve_tracking(struct iris_context *ice, struct iris_batch *batch) iris_postdraw_update_resolve_tracking() argument
405 iris_predraw_flush_buffers(struct iris_context *ice, struct iris_batch *batch, gl_shader_stage stage) iris_predraw_flush_buffers() argument
430 iris_resolve_color(struct iris_context *ice, struct iris_batch *batch, struct iris_resource *res, unsigned level, unsigned layer, enum isl_aux_op resolve_op) iris_resolve_color() argument
488 iris_mcs_partial_resolve(struct iris_context *ice, struct iris_batch *batch, struct iris_resource *res, uint32_t start_layer, uint32_t num_layers) iris_mcs_partial_resolve() argument
559 iris_hiz_exec(struct iris_context *ice, struct iris_batch *batch, struct iris_resource *res, unsigned int level, unsigned int start_layer, unsigned int num_layers, enum isl_aux_op op, bool update_clear_depth) iris_hiz_exec() argument
740 iris_resource_prepare_access(struct iris_context *ice, struct iris_resource *res, uint32_t start_level, uint32_t num_levels, uint32_t start_layer, uint32_t num_layers, enum isl_aux_usage aux_usage, bool fast_clear_supported) iris_resource_prepare_access() argument
796 iris_resource_finish_write(struct iris_context *ice, struct iris_resource *res, uint32_t level, uint32_t start_layer, uint32_t num_layers, enum isl_aux_usage aux_usage) iris_resource_finish_write() argument
844 iris_resource_set_aux_state(struct iris_context *ice, struct iris_resource *res, uint32_t level, uint32_t start_layer, uint32_t num_layers, enum isl_aux_state aux_state) iris_resource_set_aux_state() argument
881 iris_resource_texture_aux_usage(struct iris_context *ice, const struct iris_resource *res, enum isl_format view_format) iris_resource_texture_aux_usage() argument
936 iris_image_view_aux_usage(struct iris_context *ice, const struct pipe_image_view *pview, const struct shader_info *info) iris_image_view_aux_usage() argument
1000 iris_resource_prepare_texture(struct iris_context *ice, struct iris_resource *res, enum isl_format view_format, uint32_t start_level, uint32_t num_levels, uint32_t start_layer, uint32_t num_layers) iris_resource_prepare_texture() argument
1053 iris_resource_render_aux_usage(struct iris_context *ice, struct iris_resource *res, uint32_t level, enum isl_format render_format, bool draw_aux_disabled) iris_resource_render_aux_usage() argument
1115 iris_resource_prepare_render(struct iris_context *ice, struct iris_resource *res, uint32_t level, uint32_t start_layer, uint32_t layer_count, enum isl_aux_usage aux_usage) iris_resource_prepare_render() argument
1126 iris_resource_finish_render(struct iris_context *ice, struct iris_resource *res, uint32_t level, uint32_t start_layer, uint32_t layer_count, enum isl_aux_usage aux_usage) iris_resource_finish_render() argument
[all...]
H A Diris_state.c807 UNUSED struct iris_context *ice = batch->ice; in upload_pixel_hashing_tables() local
808 assert(&ice->batches[IRIS_BATCH_RENDER] == batch); in upload_pixel_hashing_tables()
822 stream_state(batch, ice->state.dynamic_uploader, &tmp, in upload_pixel_hashing_tables()
901 pipe_resource_reference(&ice->state.pixel_hashing_tables, NULL); in upload_pixel_hashing_tables()
902 ice->state.pixel_hashing_tables = pscreen->resource_create(pscreen, &tmpl); in upload_pixel_hashing_tables()
904 struct iris_resource *res = (struct iris_resource *)ice->state.pixel_hashing_tables; in upload_pixel_hashing_tables()
906 uint32_t *map = pipe_buffer_map_range(&ice->ctx, ice->state.pixel_hashing_tables, in upload_pixel_hashing_tables()
932 pipe_buffer_unmap(&ice in upload_pixel_hashing_tables()
1300 struct iris_context *ice = (struct iris_context *) ctx; iris_set_blend_color() local
1459 struct iris_context *ice = (struct iris_context *) ctx; iris_bind_blend_state() local
1592 struct iris_context *ice = (struct iris_context *) ctx; iris_bind_zsa_state() local
1630 want_pma_fix(struct iris_context *ice) want_pma_fix() argument
1752 update_pma_fix(struct iris_context *ice, struct iris_batch *batch, bool enable) update_pma_fix() argument
2006 struct iris_context *ice = (struct iris_context *) ctx; iris_bind_rasterizer_state() local
2194 struct iris_context *ice = (struct iris_context *) ctx; iris_bind_sampler_states() local
2221 iris_upload_sampler_states(struct iris_context *ice, gl_shader_stage stage) iris_upload_sampler_states() argument
2857 struct iris_context *ice = (struct iris_context *) ctx; iris_set_shader_images() local
2975 struct iris_context *ice = (struct iris_context *) ctx; iris_set_sampler_views() local
3038 struct iris_context *ice = (struct iris_context *) ctx; iris_set_global_binding() local
3072 struct iris_context *ice = (struct iris_context *) ctx; iris_set_tess_state() local
3085 struct iris_context *ice = (struct iris_context *) ctx; iris_set_patch_vertices() local
3106 struct iris_context *ice = (struct iris_context *) ctx; iris_set_clip_state() local
3128 struct iris_context *ice = (struct iris_context *) ctx; iris_set_polygon_stipple() local
3139 struct iris_context *ice = (struct iris_context *) ctx; iris_set_sample_mask() local
3160 struct iris_context *ice = (struct iris_context *) ctx; iris_set_scissor_states() local
3193 struct iris_context *ice = (struct iris_context *) ctx; iris_set_stencil_ref() local
3222 struct iris_context *ice = (struct iris_context *) ctx; iris_set_viewport_states() local
3243 struct iris_context *ice = (struct iris_context *) ctx; iris_set_framebuffer_state() local
3374 struct iris_context *ice = (struct iris_context *) ctx; iris_set_constant_buffer() local
3432 upload_sysvals(struct iris_context *ice, gl_shader_stage stage, const struct pipe_grid_info *grid) upload_sysvals() argument
3536 struct iris_context *ice = (struct iris_context *) ctx; iris_set_shader_buffers() local
3598 struct iris_context *ice = (struct iris_context *) ctx; iris_set_vertex_buffers() local
3797 struct iris_context *ice = (struct iris_context *) ctx; iris_bind_vertex_elements_state() local
3869 struct iris_context *ice = (struct iris_context *) ctx; iris_set_stream_output_targets() local
4171 iris_emit_sbe_swiz(struct iris_batch *batch, const struct iris_context *ice, const struct brw_vue_map *vue_map, unsigned urb_read_offset, unsigned sprite_coord_enables) iris_emit_sbe_swiz() argument
4262 iris_is_drawing_points(const struct iris_context *ice) iris_is_drawing_points() argument
4302 iris_emit_sbe(struct iris_batch *batch, const struct iris_context *ice) iris_emit_sbe() argument
4360 iris_populate_vs_key(const struct iris_context *ice, const struct shader_info *info, gl_shader_stage last_stage, struct iris_vs_prog_key *key) iris_populate_vs_key() argument
4377 iris_populate_tcs_key(const struct iris_context *ice, struct iris_tcs_prog_key *key) iris_populate_tcs_key() argument
4386 iris_populate_tes_key(const struct iris_context *ice, const struct shader_info *info, gl_shader_stage last_stage, struct iris_tes_prog_key *key) iris_populate_tes_key() argument
4403 iris_populate_gs_key(const struct iris_context *ice, const struct shader_info *info, gl_shader_stage last_stage, struct iris_gs_prog_key *key) iris_populate_gs_key() argument
4420 iris_populate_fs_key(const struct iris_context *ice, const struct shader_info *info, struct iris_fs_prog_key *key) iris_populate_fs_key() argument
4452 iris_populate_cs_key(const struct iris_context *ice, struct iris_cs_prog_key *key) iris_populate_cs_key() argument
4829 use_null_surface(struct iris_batch *batch, struct iris_context *ice) use_null_surface() argument
4839 use_null_fb_surface(struct iris_batch *batch, struct iris_context *ice) use_null_fb_surface() argument
4904 update_clear_value(struct iris_context *ice, struct iris_batch *batch, struct iris_resource *res, struct iris_surface_state *surf_state, struct isl_view *view) update_clear_value() argument
4954 use_surface(struct iris_context *ice, struct iris_batch *batch, struct pipe_surface *p_surf, bool writeable, enum isl_aux_usage aux_usage, bool is_read_surface, enum iris_domain access) use_surface() argument
5001 use_sampler_view(struct iris_context *ice, struct iris_batch *batch, struct iris_sampler_view *isv) use_sampler_view() argument
5034 use_ubo_ssbo(struct iris_batch *batch, struct iris_context *ice, struct pipe_shader_buffer *buf, struct iris_state_ref *surf_state, bool writable, enum iris_domain access) use_ubo_ssbo() argument
5051 use_image(struct iris_batch *batch, struct iris_context *ice, struct iris_shader_state *shs, const struct shader_info *info, int i) use_image() argument
5091 iris_populate_binding_table(struct iris_context *ice, struct iris_batch *batch, gl_shader_stage stage, bool pin_only) iris_populate_binding_table() argument
5239 pin_scratch_space(struct iris_context *ice, struct iris_batch *batch, const struct brw_stage_prog_data *prog_data, gl_shader_stage stage) pin_scratch_space() argument
5284 iris_restore_render_saved_bos(struct iris_context *ice, struct iris_batch *batch, const struct pipe_draw_info *draw) iris_restore_render_saved_bos() argument
5421 iris_restore_compute_saved_bos(struct iris_context *ice, struct iris_batch *batch, const struct pipe_grid_info *grid) iris_restore_compute_saved_bos() argument
5612 setup_constant_buffers(struct iris_context *ice, struct iris_batch *batch, int stage, struct push_bos *push_bos) setup_constant_buffers() argument
5666 emit_push_constant_packets(struct iris_context *ice, struct iris_batch *batch, int stage, const struct push_bos *push_bos) emit_push_constant_packets() argument
5708 emit_push_constant_packet_all(struct iris_context *ice, struct iris_batch *batch, uint32_t shader_mask, const struct push_bos *push_bos) emit_push_constant_packet_all() argument
5750 emit_depth_state_workarounds(struct iris_context *ice, struct iris_batch *batch, const struct isl_surf *surf) emit_depth_state_workarounds() argument
5797 iris_upload_dirty_render_state(struct iris_context *ice, struct iris_batch *batch, const struct pipe_draw_info *draw) iris_upload_dirty_render_state() argument
6855 flush_vbos(struct iris_context *ice, struct iris_batch *batch) flush_vbos() argument
6867 iris_upload_render_state(struct iris_context *ice, struct iris_batch *batch, const struct pipe_draw_info *draw, unsigned drawid_offset, const struct pipe_draw_indirect_info *indirect, const struct pipe_draw_start_count_bias *sc) iris_upload_render_state() argument
7094 iris_load_indirect_location(struct iris_context *ice, struct iris_batch *batch, const struct pipe_grid_info *grid) iris_load_indirect_location() argument
7119 iris_upload_compute_walker(struct iris_context *ice, struct iris_batch *batch, const struct pipe_grid_info *grid) iris_upload_compute_walker() argument
7184 iris_upload_gpgpu_walker(struct iris_context *ice, struct iris_batch *batch, const struct pipe_grid_info *grid) iris_upload_gpgpu_walker() argument
7336 iris_upload_compute_state(struct iris_context *ice, struct iris_batch *batch, const struct pipe_grid_info *grid) iris_upload_compute_state() argument
7399 iris_destroy_state(struct iris_context *ice) iris_destroy_state() argument
7465 iris_rebind_buffer(struct iris_context *ice, struct iris_resource *res) iris_rebind_buffer() argument
8218 gfx9_toggle_preemption(struct iris_context *ice, struct iris_batch *batch, const struct pipe_draw_info *draw) gfx9_toggle_preemption() argument
8274 iris_lost_genx_state(struct iris_context *ice, struct iris_batch *batch) iris_lost_genx_state() argument
8318 emit_hashing_mode(struct iris_context *ice, struct iris_batch *batch, unsigned width, unsigned height, unsigned scale) emit_hashing_mode() argument
8392 struct iris_context *ice = (struct iris_context *) ctx; iris_set_frontend_noop() local
8443 init_state(struct iris_context *ice) init_state() argument
[all...]
H A Diris_performance_query.c39 struct iris_context *ice = (void *) pipe; in iris_init_perf_query_info() local
40 struct iris_screen *screen = (struct iris_screen *) ice->ctx.screen; in iris_init_perf_query_info()
56 if (!ice->perf_ctx) in iris_init_perf_query_info()
57 ice->perf_ctx = intel_perf_new_context(ice); in iris_init_perf_query_info()
59 if (unlikely(!ice->perf_ctx)) in iris_init_perf_query_info()
62 perf_cfg = intel_perf_config(ice->perf_ctx); in iris_init_perf_query_info()
67 perf_cfg = intel_perf_new(ice->perf_ctx); in iris_init_perf_query_info()
75 intel_perf_init_context(ice->perf_ctx, in iris_init_perf_query_info()
77 ice, in iris_init_perf_query_info()
90 struct iris_context *ice = (void *) pipe; iris_new_perf_query_obj() local
110 struct iris_context *ice = (void *) pipe; iris_begin_perf_query() local
121 struct iris_context *ice = (void *) pipe; iris_end_perf_query() local
133 struct iris_context *ice = (void *) pipe; iris_delete_perf_query() local
150 struct iris_context *ice = (void *) pipe; iris_get_perf_query_info() local
173 struct iris_context *ice = (void *) pipe; iris_get_perf_counter_info() local
204 struct iris_context *ice = (void *) pipe; iris_wait_perf_query() local
216 struct iris_context *ice = (void *) pipe; iris_is_perf_query_ready() local
237 struct iris_context *ice = (void *) pipe; iris_get_perf_query_data() local
[all...]
H A Diris_program.c196 iris_upload_ubo_ssbo_surf_state(struct iris_context *ice, in iris_upload_ubo_ssbo_surf_state() argument
201 struct pipe_context *ctx = &ice->ctx; in iris_upload_ubo_ssbo_surf_state()
206 upload_state(ice->state.surface_uploader, surf_state, in iris_upload_ubo_ssbo_surf_state()
1166 check_urb_size(struct iris_context *ice, in check_urb_size() argument
1170 unsigned last_allocated_size = ice->shaders.urb.size[stage]; in check_urb_size()
1179 (ice->shaders.urb.constrained && last_allocated_size > needed_size)) { in check_urb_size()
1180 ice->state.dirty |= IRIS_DIRTY_URB; in check_urb_size()
1190 last_vue_stage(struct iris_context *ice) in last_vue_stage() argument
1192 if (ice->shaders.uncompiled[MESA_SHADER_GEOMETRY]) in last_vue_stage()
1195 if (ice in last_vue_stage()
1396 iris_update_compiled_vs(struct iris_context *ice) iris_update_compiled_vs() argument
1439 iris_get_shader_info(const struct iris_context *ice, gl_shader_stage stage) iris_get_shader_info() argument
1463 get_unified_tess_slots(const struct iris_context *ice, uint64_t *per_vertex_slots, uint32_t *per_patch_slots) get_unified_tess_slots() argument
1598 iris_update_compiled_tcs(struct iris_context *ice) iris_update_compiled_tcs() argument
1764 iris_update_compiled_tes(struct iris_context *ice) iris_update_compiled_tes() argument
1902 iris_update_compiled_gs(struct iris_context *ice) iris_update_compiled_gs() argument
2038 iris_update_compiled_fs(struct iris_context *ice) iris_update_compiled_fs() argument
2090 update_last_vue_map(struct iris_context *ice, struct iris_compiled_shader *shader) update_last_vue_map() argument
2119 iris_update_pull_constant_descriptors(struct iris_context *ice, gl_shader_stage stage) iris_update_pull_constant_descriptors() argument
2156 iris_update_compiled_shaders(struct iris_context *ice) iris_update_compiled_shaders() argument
2306 iris_update_compiled_cs(struct iris_context *ice) iris_update_compiled_cs() argument
2341 iris_update_compiled_compute_shader(struct iris_context *ice) iris_update_compiled_compute_shader() argument
2367 iris_get_scratch_space(struct iris_context *ice, unsigned per_thread_scratch, gl_shader_stage stage) iris_get_scratch_space() argument
2400 iris_get_scratch_surf(struct iris_context *ice, unsigned per_thread_scratch) iris_get_scratch_surf() argument
2489 struct iris_context *ice = (void *) ctx; iris_create_compute_state() local
2585 struct iris_context *ice = (void *) ctx; iris_create_shader_state() local
2762 struct iris_context *ice = (void *) ctx; iris_delete_shader_state() local
2782 bind_shader_state(struct iris_context *ice, struct iris_uncompiled_shader *ish, gl_shader_stage stage) bind_shader_state() argument
2814 struct iris_context *ice = (struct iris_context *)ctx; iris_bind_vs_state() local
2864 struct iris_context *ice = (struct iris_context *)ctx; iris_bind_tes_state() local
2879 struct iris_context *ice = (struct iris_context *)ctx; iris_bind_gs_state() local
2891 struct iris_context *ice = (struct iris_context *) ctx; iris_bind_fs_state() local
[all...]
H A Diris_measure.c77 config_from_context(struct iris_context *ice) in config_from_context() argument
79 return ((struct iris_screen *) ice->ctx.screen)->measure.config; in config_from_context()
100 iris_init_batch_measure(struct iris_context *ice, struct iris_batch *batch) in iris_init_batch_measure() argument
102 const struct intel_measure_config *config = config_from_context(ice); in iris_init_batch_measure()
125 (uintptr_t)util_hash_crc32(&ice->state.framebuffer, in iris_init_batch_measure()
126 sizeof(ice->state.framebuffer)); in iris_init_batch_measure()
141 measure_start_snapshot(struct iris_context *ice, in measure_start_snapshot() argument
148 const struct intel_measure_config *config = config_from_context(ice); in measure_start_snapshot()
149 const struct iris_screen *screen = (void *) ice->ctx.screen; in measure_start_snapshot()
194 snapshot->cs = (uintptr_t) ice in measure_start_snapshot()
226 state_changed(const struct iris_context *ice, const struct iris_batch *batch, enum intel_measure_snapshot_type type) state_changed() argument
248 iris_measure_renderpass(struct iris_context *ice) iris_measure_renderpass() argument
272 _iris_measure_snapshot(struct iris_context *ice, struct iris_batch *batch, enum intel_measure_snapshot_type type, const struct pipe_draw_info *draw, const struct pipe_draw_indirect_info *indirect, const struct pipe_draw_start_count_bias *sc) _iris_measure_snapshot() argument
337 iris_destroy_ctx_measure(struct iris_context *ice) iris_destroy_ctx_measure() argument
347 iris_measure_batch_end(struct iris_context *ice, struct iris_batch *batch) iris_measure_batch_end() argument
392 iris_measure_frame_end(struct iris_context *ice) iris_measure_frame_end() argument
[all...]
H A Diris_blorp.c135 struct iris_context *ice = blorp_batch->blorp->driver_ctx; in blorp_alloc_dynamic_state() local
138 return stream_state(batch, ice->state.dynamic_uploader, in blorp_alloc_dynamic_state()
161 struct iris_context *ice = blorp_batch->blorp->driver_ctx; in blorp_alloc_binding_table() local
162 struct iris_binder *binder = &ice->state.binder; in blorp_alloc_binding_table()
166 iris_binder_reserve(ice, num_entries * sizeof(uint32_t)); in blorp_alloc_binding_table()
174 surface_maps[i] = stream_state(batch, ice->state.surface_uploader, in blorp_alloc_binding_table()
198 struct iris_context *ice = blorp_batch->blorp->driver_ctx; in blorp_alloc_vertex_buffer() local
203 void *map = stream_state(batch, ice->ctx.const_uploader, size, 64, in blorp_alloc_vertex_buffer()
228 struct iris_context *ice = blorp_batch->blorp->driver_ctx; in blorp_vf_invalidate_for_vb_48b_transitions() local
236 if (high_bits != ice in blorp_vf_invalidate_for_vb_48b_transitions()
285 struct iris_context *ice = blorp_batch->blorp->driver_ctx; iris_blorp_exec_render() local
460 struct iris_context *ice = blorp_batch->blorp->driver_ctx; blorp_measure_start() local
488 init_blorp(struct iris_context *ice) init_blorp() argument
[all...]
H A Diris_query.c132 mark_available(struct iris_context *ice, struct iris_query *q) in mark_available() argument
134 struct iris_batch *batch = &ice->batches[q->batch_idx]; in mark_available()
170 write_value(struct iris_context *ice, struct iris_query *q, unsigned offset) in write_value() argument
172 struct iris_batch *batch = &ice->batches[q->batch_idx]; in write_value()
197 iris_pipelined_write(&ice->batches[IRIS_BATCH_RENDER], q, in write_value()
205 iris_pipelined_write(&ice->batches[IRIS_BATCH_RENDER], q, in write_value()
246 write_overflow_values(struct iris_context *ice, struct iris_query *q, bool end) in write_overflow_values() argument
248 struct iris_batch *batch = &ice->batches[IRIS_BATCH_RENDER]; in write_overflow_values()
462 struct iris_context *ice = (void *) ctx; in iris_create_batch_query() local
468 q->monitor = iris_create_monitor_object(ice, num_querie in iris_create_batch_query()
497 struct iris_context *ice = (void *) ctx; iris_begin_query() local
546 struct iris_context *ice = (void *) ctx; iris_end_query() local
590 iris_check_query_no_flush(struct iris_context *ice, struct iris_query *q) iris_check_query_no_flush() argument
606 struct iris_context *ice = (void *) ctx; iris_get_query_result() local
660 struct iris_context *ice = (void *) ctx; iris_get_query_result_resource() local
734 struct iris_context *ice = (void *) ctx; iris_set_active_query_state() local
753 set_predicate_enable(struct iris_context *ice, bool value) set_predicate_enable() argument
762 set_predicate_for_result(struct iris_context *ice, struct iris_query *q, bool inverted) set_predicate_for_result() argument
827 struct iris_context *ice = (void *) ctx; iris_render_condition() local
853 init_query(struct iris_context *ice) init_query() argument
[all...]
H A Diris_monitor.c157 iris_init_monitor_ctx(struct iris_context *ice) in iris_init_monitor_ctx() argument
159 struct iris_screen *screen = (struct iris_screen *) ice->ctx.screen; in iris_init_monitor_ctx()
161 ice->perf_ctx = intel_perf_new_context(ice); in iris_init_monitor_ctx()
162 if (unlikely(!ice->perf_ctx)) in iris_init_monitor_ctx()
165 struct intel_perf_context *perf_ctx = ice->perf_ctx; in iris_init_monitor_ctx()
169 ice, in iris_init_monitor_ctx()
170 ice, in iris_init_monitor_ctx()
173 ice->batches[IRIS_BATCH_RENDER].ctx_id, in iris_init_monitor_ctx()
179 iris_create_monitor_object(struct iris_context *ice, in iris_create_monitor_object() argument
248 struct iris_context *ice = (struct iris_context *)ctx; iris_destroy_monitor_object() local
262 struct iris_context *ice = (void *) ctx; iris_begin_monitor() local
272 struct iris_context *ice = (void *) ctx; iris_end_monitor() local
285 struct iris_context *ice = (void *) ctx; iris_get_monitor_result() local
[all...]
H A Diris_program_cache.c88 iris_find_cached_shader(struct iris_context *ice, in iris_find_cached_shader() argument
95 _mesa_hash_table_search(ice->shaders.cache, keybox); in iris_find_cached_shader()
203 struct iris_context *ice = blorp->driver_ctx; in iris_blorp_lookup_shader() local
206 iris_find_cached_shader(ice, IRIS_CACHE_BLORP, key_size, key); in iris_blorp_lookup_shader()
230 struct iris_context *ice = blorp->driver_ctx; in iris_blorp_upload_shader() local
241 iris_create_shader_variant(screen, ice->shaders.cache, IRIS_CACHE_BLORP, in iris_blorp_upload_shader()
246 iris_upload_shader(screen, NULL, shader, ice->shaders.cache, in iris_blorp_upload_shader()
247 ice->shaders.uploader_driver, in iris_blorp_upload_shader()
261 iris_init_program_cache(struct iris_context *ice) in iris_init_program_cache() argument
263 ice in iris_init_program_cache()
277 iris_destroy_program_cache(struct iris_context *ice) iris_destroy_program_cache() argument
[all...]
H A Diris_batch.c179 iris_init_batch(struct iris_context *ice, in iris_init_batch() argument
182 struct iris_batch *batch = &ice->batches[name]; in iris_init_batch()
183 struct iris_screen *screen = (void *) ice->ctx.screen; in iris_init_batch()
192 batch->dbg = &ice->dbg; in iris_init_batch()
193 batch->reset = &ice->reset; in iris_init_batch()
194 batch->state_sizes = ice->state.sizes; in iris_init_batch()
196 batch->ice = ice; in iris_init_batch()
200 u_upload_create(&ice->ctx, 4096, PIPE_BIND_CUSTOM, in iris_init_batch()
221 iris_foreach_batch(ice, other_batc in iris_init_batch()
253 iris_init_non_engine_contexts(struct iris_context *ice, int priority) iris_init_non_engine_contexts() argument
269 iris_create_engines_context(struct iris_context *ice, int priority) iris_create_engines_context() argument
317 iris_init_engines_context(struct iris_context *ice, int priority) iris_init_engines_context() argument
337 iris_init_batches(struct iris_context *ice, int priority) iris_init_batches() argument
606 iris_destroy_batches(struct iris_context *ice) iris_destroy_batches() argument
739 struct iris_context *ice = batch->ice; replace_kernel_ctx() local
829 struct iris_context *ice = batch->ice; update_bo_syncobjs() local
1034 struct iris_context *ice = batch->ice; _iris_batch_flush() local
[all...]
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_draw.c60 can_cut_index_handle_restart_index(struct crocus_context *ice, in can_cut_index_handle_restart_index() argument
78 can_cut_index_handle_prim(struct crocus_context *ice, in can_cut_index_handle_prim() argument
81 struct crocus_screen *screen = (struct crocus_screen*)ice->ctx.screen; in can_cut_index_handle_prim()
88 if (!can_cut_index_handle_restart_index(ice, draw)) in can_cut_index_handle_prim()
116 crocus_update_draw_info(struct crocus_context *ice, in crocus_update_draw_info() argument
120 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen; in crocus_update_draw_info()
126 struct pipe_rasterizer_state *rs_state = crocus_get_rast_state(ice); in crocus_update_draw_info()
139 if (ice->state.prim_mode != mode) { in crocus_update_draw_info()
140 ice->state.prim_mode = mode; in crocus_update_draw_info()
143 if (ice in crocus_update_draw_info()
202 crocus_update_draw_parameters(struct crocus_context *ice, const struct pipe_draw_info *info, unsigned drawid_offset, const struct pipe_draw_indirect_info *indirect, const struct pipe_draw_start_count_bias *draw) crocus_update_draw_parameters() argument
267 crocus_indirect_draw_vbo(struct crocus_context *ice, const struct pipe_draw_info *dinfo, unsigned drawid_offset, const struct pipe_draw_indirect_info *dindirect, const struct pipe_draw_start_count_bias *draws) crocus_indirect_draw_vbo() argument
316 crocus_simple_draw_vbo(struct crocus_context *ice, const struct pipe_draw_info *draw, unsigned drawid_offset, const struct pipe_draw_indirect_info *indirect, const struct pipe_draw_start_count_bias *sc) crocus_simple_draw_vbo() argument
371 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_draw_vbo() local
449 crocus_update_grid_size_resource(struct crocus_context *ice, const struct pipe_grid_info *grid) crocus_update_grid_size_resource() argument
481 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_launch_grid() local
[all...]
H A Dcrocus_context.c45 struct crocus_context *ice = (struct crocus_context *)ctx; in crocus_set_debug_callback() local
48 ice->dbg = *cb; in crocus_set_debug_callback()
50 memset(&ice->dbg, 0, sizeof(ice->dbg)); in crocus_set_debug_callback()
54 crocus_init_identifier_bo(struct crocus_context *ice) in crocus_init_identifier_bo() argument
58 bo_map = crocus_bo_map(NULL, ice->workaround_bo, MAP_READ | MAP_WRITE); in crocus_init_identifier_bo()
62 ice->workaround_bo->kflags |= EXEC_OBJECT_CAPTURE; in crocus_init_identifier_bo()
63 ice->workaround_offset = ALIGN( in crocus_init_identifier_bo()
66 crocus_bo_unmap(ice->workaround_bo); in crocus_init_identifier_bo()
86 struct crocus_context *ice in crocus_lost_context_state() local
105 struct crocus_context *ice = (struct crocus_context *)ctx; crocus_get_device_reset_status() local
140 struct crocus_context *ice = (struct crocus_context *)ctx; crocus_set_device_reset_callback() local
189 struct crocus_context *ice = (struct crocus_context *)ctx; crocus_destroy_context() local
249 struct crocus_context *ice = rzalloc(NULL, struct crocus_context); crocus_create_context() local
332 crocus_sw_check_cond_render(struct crocus_context *ice) crocus_sw_check_cond_render() argument
[all...]
H A Dcrocus_program_cache.c85 crocus_find_cached_shader(struct crocus_context *ice, in crocus_find_cached_shader() argument
91 _mesa_hash_table_search(ice->shaders.cache, keybox); in crocus_find_cached_shader()
99 crocus_find_previous_compile(const struct crocus_context *ice, in crocus_find_previous_compile() argument
103 hash_table_foreach(ice->shaders.cache, entry) { in crocus_find_previous_compile()
139 crocus_cache_new_bo(struct crocus_context *ice, in crocus_cache_new_bo() argument
142 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen; in crocus_cache_new_bo()
149 if (ice->shaders.cache_next_offset != 0) { in crocus_cache_new_bo()
150 memcpy(map, ice->shaders.cache_bo_map, ice->shaders.cache_next_offset); in crocus_cache_new_bo()
153 crocus_bo_unmap(ice in crocus_cache_new_bo()
170 crocus_alloc_item_data(struct crocus_context *ice, uint32_t size) crocus_alloc_item_data() argument
187 crocus_upload_shader(struct crocus_context *ice, enum crocus_program_cache_id cache_id, uint32_t key_size, const void *key, const void *assembly, uint32_t asm_size, struct brw_stage_prog_data *prog_data, uint32_t prog_data_size, uint32_t *streamout, enum brw_param_builtin *system_values, unsigned num_system_values, unsigned num_cbufs, const struct crocus_binding_table *bt) crocus_upload_shader() argument
244 struct crocus_context *ice = blorp->driver_ctx; crocus_blorp_lookup_shader() local
266 struct crocus_context *ice = blorp->driver_ctx; crocus_blorp_upload_shader() local
285 crocus_init_program_cache(struct crocus_context *ice) crocus_init_program_cache() argument
299 crocus_destroy_program_cache(struct crocus_context *ice) crocus_destroy_program_cache() argument
334 crocus_print_program_cache(struct crocus_context *ice) crocus_print_program_cache() argument
[all...]
H A Dcrocus_program.c70 crocus_get_texture_swizzle(const struct crocus_context *ice, in crocus_get_texture_swizzle() argument
149 crocus_populate_sampler_prog_key_data(struct crocus_context *ice, in crocus_populate_sampler_prog_key_data() argument
156 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen; in crocus_populate_sampler_prog_key_data()
162 struct crocus_sampler_view *texture = ice->state.shaders[stage].textures[s]; in crocus_populate_sampler_prog_key_data()
171 key->swizzles[s] = crocus_get_texture_swizzle(ice, texture); in crocus_populate_sampler_prog_key_data()
174 screen->vtbl.fill_clamp_mask(ice->state.shaders[stage].samplers[s], s, key->gl_clamp_mask); in crocus_populate_sampler_prog_key_data()
1072 crocus_debug_recompile(struct crocus_context *ice, in crocus_debug_recompile() argument
1076 struct crocus_screen *screen = (struct crocus_screen *) ice->ctx.screen; in crocus_debug_recompile()
1082 brw_shader_perf_log(c, &ice->dbg, "Recompiling %s shader for program %s: %s\n", in crocus_debug_recompile()
1088 crocus_find_previous_compile(ice, inf in crocus_debug_recompile()
1099 last_vue_stage(struct crocus_context *ice) last_vue_stage() argument
1111 crocus_vs_outputs_written(struct crocus_context *ice, const struct brw_vs_prog_key *key, GLbitfield64 user_varyings) crocus_vs_outputs_written() argument
1180 crocus_compile_vs(struct crocus_context *ice, struct crocus_uncompiled_shader *ish, const struct brw_vs_prog_key *key) crocus_compile_vs() argument
1290 crocus_update_compiled_vs(struct crocus_context *ice) crocus_update_compiled_vs() argument
1354 crocus_get_shader_info(const struct crocus_context *ice, gl_shader_stage stage) crocus_get_shader_info() argument
1378 get_unified_tess_slots(const struct crocus_context *ice, uint64_t *per_vertex_slots, uint32_t *per_patch_slots) get_unified_tess_slots() argument
1400 crocus_compile_tcs(struct crocus_context *ice, struct crocus_uncompiled_shader *ish, const struct brw_tcs_prog_key *key) crocus_compile_tcs() argument
1517 crocus_update_compiled_tcs(struct crocus_context *ice) crocus_update_compiled_tcs() argument
1566 crocus_compile_tes(struct crocus_context *ice, struct crocus_uncompiled_shader *ish, const struct brw_tes_prog_key *key) crocus_compile_tes() argument
1661 crocus_update_compiled_tes(struct crocus_context *ice) crocus_update_compiled_tes() argument
1706 crocus_compile_gs(struct crocus_context *ice, struct crocus_uncompiled_shader *ish, const struct brw_gs_prog_key *key) crocus_compile_gs() argument
1802 crocus_update_compiled_gs(struct crocus_context *ice) crocus_update_compiled_gs() argument
1843 crocus_compile_fs(struct crocus_context *ice, struct crocus_uncompiled_shader *ish, const struct brw_wm_prog_key *key, struct brw_vue_map *vue_map) crocus_compile_fs() argument
1934 crocus_update_compiled_fs(struct crocus_context *ice) crocus_update_compiled_fs() argument
1989 update_last_vue_map(struct crocus_context *ice, struct brw_stage_prog_data *prog_data) update_last_vue_map() argument
2029 crocus_update_pull_constant_descriptors(struct crocus_context *ice, gl_shader_stage stage) crocus_update_pull_constant_descriptors() argument
2059 get_vue_prog_data(struct crocus_context *ice, gl_shader_stage stage) get_vue_prog_data() argument
2068 crocus_compile_clip(struct crocus_context *ice, struct brw_clip_prog_key *key) crocus_compile_clip() argument
2099 crocus_update_compiled_clip(struct crocus_context *ice) crocus_update_compiled_clip() argument
2222 crocus_compile_sf(struct crocus_context *ice, struct brw_sf_prog_key *key) crocus_compile_sf() argument
2254 crocus_update_compiled_sf(struct crocus_context *ice) crocus_update_compiled_sf() argument
2315 crocus_compile_ff_gs(struct crocus_context *ice, struct brw_ff_gs_prog_key *key) crocus_compile_ff_gs() argument
2355 crocus_update_compiled_ff_gs(struct crocus_context *ice) crocus_update_compiled_ff_gs() argument
2423 crocus_update_compiled_shaders(struct crocus_context *ice) crocus_update_compiled_shaders() argument
2541 crocus_compile_cs(struct crocus_context *ice, struct crocus_uncompiled_shader *ish, const struct brw_cs_prog_key *key) crocus_compile_cs() argument
2604 crocus_update_compiled_cs(struct crocus_context *ice) crocus_update_compiled_cs() argument
2638 crocus_update_compiled_compute_shader(struct crocus_context *ice) crocus_update_compiled_compute_shader() argument
2664 crocus_get_scratch_space(struct crocus_context *ice, unsigned per_thread_scratch, gl_shader_stage stage) crocus_get_scratch_space() argument
2761 struct crocus_context *ice = (void *) ctx; crocus_create_vs_state() local
2788 struct crocus_context *ice = (void *) ctx; crocus_create_tcs_state() local
2818 struct crocus_context *ice = (void *) ctx; crocus_create_tes_state() local
2847 struct crocus_context *ice = (void *) ctx; crocus_create_gs_state() local
2870 struct crocus_context *ice = (void *) ctx; crocus_create_fs_state() local
2925 struct crocus_context *ice = (void *) ctx; crocus_create_compute_state() local
2952 struct crocus_context *ice = (void *) ctx; crocus_delete_shader_state() local
3011 bind_shader_state(struct crocus_context *ice, struct crocus_uncompiled_shader *ish, gl_shader_stage stage) bind_shader_state() argument
3043 struct crocus_context *ice = (struct crocus_context *)ctx; crocus_bind_vs_state() local
3075 struct crocus_context *ice = (struct crocus_context *)ctx; crocus_bind_tes_state() local
3087 struct crocus_context *ice = (struct crocus_context *)ctx; crocus_bind_gs_state() local
3099 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_bind_fs_state() local
[all...]
H A Dcrocus_state.c686 static bool check_urb_layout(struct crocus_context *ice) in check_urb_layout() argument
688 ice->urb.vs_start = 0; in check_urb_layout()
689 ice->urb.gs_start = ice->urb.nr_vs_entries * ice->urb.vsize; in check_urb_layout()
690 ice->urb.clip_start = ice->urb.gs_start + ice->urb.nr_gs_entries * ice->urb.vsize; in check_urb_layout()
691 ice in check_urb_layout()
703 struct crocus_context *ice = batch->ice; crocus_calculate_urb_fence() local
828 struct crocus_context *ice = batch->ice; calculate_curbe_offsets() local
912 upload_shader_consts(struct crocus_context *ice, gl_shader_stage stage, uint32_t *map, unsigned start) upload_shader_consts() argument
966 struct crocus_context *ice = batch->ice; gen4_upload_curbe() local
1453 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_set_blend_color() local
1507 can_emit_logic_op(struct crocus_context *ice) can_emit_logic_op() argument
1525 struct crocus_context *ice = batch->ice; set_blend_entry_bits() local
1662 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_bind_blend_state() local
1749 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_bind_zsa_state() local
1795 want_pma_fix(struct crocus_context *ice) want_pma_fix() argument
1917 crocus_update_pma_fix(struct crocus_context *ice, struct crocus_batch *batch, bool enable) crocus_update_pma_fix() argument
2160 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_bind_rasterizer_state() local
2305 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_bind_sampler_states() local
2596 crocus_upload_sampler_states(struct crocus_context *ice, struct crocus_batch *batch, gl_shader_stage stage) crocus_upload_sampler_states() argument
3056 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_set_shader_images() local
3154 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_set_sampler_views() local
3199 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_set_tess_state() local
3212 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_set_patch_vertices() local
3231 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_set_clip_state() local
3255 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_set_polygon_stipple() local
3266 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_set_sample_mask() local
3276 crocus_fill_scissor_rect(struct crocus_context *ice, int idx, struct pipe_scissor_state *ss) crocus_fill_scissor_rect() argument
3311 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_set_scissor_states() local
3350 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_set_stencil_ref() local
3376 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_set_viewport_states() local
3401 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_set_framebuffer_state() local
3488 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_set_constant_buffer() local
3528 upload_sysvals(struct crocus_context *ice, gl_shader_stage stage) upload_sysvals() argument
3617 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_set_shader_buffers() local
3669 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_set_vertex_buffers() local
3921 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_bind_vertex_elements_state() local
3999 struct crocus_context *ice = (void *)so->context; crocus_get_so_offset() local
4037 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_create_stream_output_target() local
4108 compute_vertices_written_so_far(struct crocus_context *ice, struct crocus_stream_output_target *tgt, struct crocus_streamout_counter *counter, uint64_t *svbi) compute_vertices_written_so_far() argument
4132 struct crocus_context *ice = (struct crocus_context *) ctx; crocus_set_stream_output_targets() local
4401 crocus_emit_so_svbi(struct crocus_context *ice) crocus_emit_so_svbi() argument
4436 crocus_is_drawing_points(const struct crocus_context *ice) crocus_is_drawing_points() argument
4554 calculate_attr_overrides( const struct crocus_context *ice, struct GENX(SF_OUTPUT_ATTRIBUTE_DETAIL) *attr_overrides, uint32_t *point_sprite_enables, uint32_t *urb_entry_read_length, uint32_t *urb_entry_read_offset) calculate_attr_overrides() argument
4635 crocus_emit_sbe(struct crocus_batch *batch, const struct crocus_context *ice) crocus_emit_sbe() argument
4684 crocus_populate_vs_key(const struct crocus_context *ice, const struct shader_info *info, gl_shader_stage last_stage, struct brw_vs_prog_key *key) crocus_populate_vs_key() argument
4723 crocus_populate_tcs_key(const struct crocus_context *ice, struct brw_tcs_prog_key *key) crocus_populate_tcs_key() argument
4732 crocus_populate_tes_key(const struct crocus_context *ice, const struct shader_info *info, gl_shader_stage last_stage, struct brw_tes_prog_key *key) crocus_populate_tes_key() argument
4753 crocus_populate_gs_key(const struct crocus_context *ice, const struct shader_info *info, gl_shader_stage last_stage, struct brw_gs_prog_key *key) crocus_populate_gs_key() argument
4774 crocus_populate_fs_key(const struct crocus_context *ice, const struct shader_info *info, struct brw_wm_prog_key *key) crocus_populate_fs_key() argument
4862 crocus_populate_cs_key(const struct crocus_context *ice, struct brw_cs_prog_key *key) crocus_populate_cs_key() argument
4871 KSP(const struct crocus_context *ice, const struct crocus_compiled_shader *shader) KSP() argument
4941 emit_null_fb_surface(struct crocus_batch *batch, struct crocus_context *ice, uint32_t *out_offset) emit_null_fb_surface() argument
5120 emit_grid(struct crocus_context *ice, struct crocus_batch *batch) emit_grid() argument
5141 emit_ubo_buffer(struct crocus_context *ice, struct crocus_batch *batch, struct pipe_constant_buffer *buffer) emit_ubo_buffer() argument
5165 emit_ssbo_buffer(struct crocus_context *ice, struct crocus_batch *batch, struct pipe_shader_buffer *buffer, bool writeable) emit_ssbo_buffer() argument
5192 emit_sampler_view(struct crocus_context *ice, struct crocus_batch *batch, bool for_gather, struct crocus_sampler_view *isv) emit_sampler_view() argument
5232 emit_image_view(struct crocus_context *ice, struct crocus_batch *batch, struct crocus_image_view *iv) emit_image_view() argument
5291 struct crocus_context *ice = batch->ice; emit_sol_surface() local
5371 crocus_populate_binding_table(struct crocus_context *ice, struct crocus_batch *batch, gl_shader_stage stage, bool ff_gs) crocus_populate_binding_table() argument
5504 crocus_upload_binding_table(struct crocus_context *ice, struct crocus_batch *batch, uint32_t *table, uint32_t size) crocus_upload_binding_table() argument
5648 setup_constant_buffers(struct crocus_context *ice, struct crocus_batch *batch, int stage, struct push_bos *push_bos) setup_constant_buffers() argument
5713 emit_push_constant_packets(struct crocus_context *ice, struct crocus_batch *batch, int stage, const struct push_bos *push_bos) emit_push_constant_packets() argument
5786 set_depth_stencil_bits(struct crocus_context *ice, DEPTH_STENCIL_GENXML *ds) set_depth_stencil_bits() argument
5852 determine_sample_mask(struct crocus_context *ice) determine_sample_mask() argument
5865 crocus_upload_dirty_render_state(struct crocus_context *ice, struct crocus_batch *batch, const struct pipe_draw_info *draw) global() argument
7783 crocus_upload_render_state(struct crocus_context *ice, struct crocus_batch *batch, const struct pipe_draw_info *draw, unsigned drawid_offset, const struct pipe_draw_indirect_info *indirect, const struct pipe_draw_start_count_bias *sc) global() argument
8046 crocus_upload_compute_state(struct crocus_context *ice, struct crocus_batch *batch, const struct pipe_grid_info *grid) global() argument
8277 crocus_destroy_state(struct crocus_context *ice) global() argument
8320 crocus_rebind_buffer(struct crocus_context *ice, struct crocus_resource *res) global() argument
8918 struct crocus_context *ice = batch->ice; global() local
8976 crocus_lost_genx_state(struct crocus_context *ice, struct crocus_batch *batch) global() argument
9044 struct crocus_context *ice = batch->ice; global() local
9129 crocus_get_rast_state(struct crocus_context *ice) global() argument
9136 update_so_strides(struct crocus_context *ice, uint16_t *strides) global() argument
9167 struct crocus_context *ice = (struct crocus_context *) ctx; global() local
9243 crocus_init_state(struct crocus_context *ice) global() argument
[all...]
H A Dcrocus_blit.c37 void crocus_blitter_begin(struct crocus_context *ice, enum crocus_blitter_op op, bool render_cond) in crocus_blitter_begin() argument
39 util_blitter_save_vertex_shader(ice->blitter, ice->shaders.uncompiled[MESA_SHADER_VERTEX]); in crocus_blitter_begin()
40 util_blitter_save_tessctrl_shader(ice->blitter, ice->shaders.uncompiled[MESA_SHADER_TESS_CTRL]); in crocus_blitter_begin()
41 util_blitter_save_tesseval_shader(ice->blitter, ice->shaders.uncompiled[MESA_SHADER_TESS_EVAL]); in crocus_blitter_begin()
42 util_blitter_save_geometry_shader(ice->blitter, ice->shaders.uncompiled[MESA_SHADER_GEOMETRY]); in crocus_blitter_begin()
43 util_blitter_save_so_targets(ice in crocus_blitter_begin()
370 crocus_u_blitter(struct crocus_context *ice, const struct pipe_blit_info *info) crocus_u_blitter() argument
389 struct crocus_context *ice = (void *) ctx; crocus_blit() local
685 struct crocus_context *ice = blorp->driver_ctx; crocus_copy_region() local
775 struct crocus_context *ice = (void *) ctx; crocus_resource_copy_region() local
[all...]
H A Dcrocus_query.c152 mark_available(struct crocus_context *ice, struct crocus_query *q) in mark_available() argument
155 struct crocus_batch *batch = &ice->batches[q->batch_idx]; in mark_available()
190 write_value(struct crocus_context *ice, struct crocus_query *q, unsigned offset) in write_value() argument
192 struct crocus_batch *batch = &ice->batches[q->batch_idx]; in write_value()
210 crocus_pipelined_write(&ice->batches[CROCUS_BATCH_RENDER], q, in write_value()
218 crocus_pipelined_write(&ice->batches[CROCUS_BATCH_RENDER], q, in write_value()
274 write_overflow_values(struct crocus_context *ice, struct crocus_query *q, bool end) in write_overflow_values() argument
276 struct crocus_batch *batch = &ice->batches[CROCUS_BATCH_RENDER]; in write_overflow_values()
492 struct crocus_context *ice = (void *) ctx; in crocus_create_batch_query() local
498 q->monitor = crocus_create_monitor_object(ice, num_querie in crocus_create_batch_query()
527 struct crocus_context *ice = (void *) ctx; crocus_begin_query() local
587 struct crocus_context *ice = (void *) ctx; crocus_end_query() local
640 crocus_check_query_no_flush(struct crocus_context *ice, struct crocus_query *q) crocus_check_query_no_flush() argument
656 struct crocus_context *ice = (void *) ctx; crocus_get_query_result() local
711 struct crocus_context *ice = (void *) ctx; crocus_get_query_result_resource() local
789 struct crocus_context *ice = (void *) ctx; crocus_set_active_query_state() local
808 set_predicate_enable(struct crocus_context *ice, bool value) set_predicate_enable() argument
818 set_predicate_for_result(struct crocus_context *ice, struct crocus_query *q, bool inverted) set_predicate_for_result() argument
913 struct crocus_context *ice = (void *) ctx; crocus_render_condition() local
946 crocus_resolve_conditional_render(struct crocus_context *ice) crocus_resolve_conditional_render() argument
966 struct crocus_context *ice = batch->ice; crocus_emit_compute_predicate() local
989 crocus_init_query(struct crocus_context *ice) crocus_init_query() argument
[all...]
H A Dcrocus_clear.c41 crocus_is_color_fast_clear_compatible(struct crocus_context *ice, in crocus_is_color_fast_clear_compatible() argument
46 perf_debug(&ice->dbg, "Integer fast clear not enabled for %s", in crocus_is_color_fast_clear_compatible()
65 can_fast_clear_color(struct crocus_context *ice, in can_fast_clear_color() argument
95 ice->state.predicate == CROCUS_PREDICATE_STATE_USE_BIT) { in can_fast_clear_color()
113 if (!crocus_is_color_fast_clear_compatible(ice, format, color)) in can_fast_clear_color()
120 convert_fast_clear_color(struct crocus_context *ice, in convert_fast_clear_color() argument
198 fast_clear_color(struct crocus_context *ice, in fast_clear_color() argument
206 struct crocus_batch *batch = &ice->batches[CROCUS_BATCH_RENDER]; in fast_clear_color()
210 color = convert_fast_clear_color(ice, res, format, color); in fast_clear_color()
247 crocus_resource_prepare_access(ice, re in fast_clear_color()
326 clear_color(struct crocus_context *ice, struct pipe_resource *p_res, unsigned level, const struct pipe_box *box, bool render_condition_enabled, enum isl_format format, struct isl_swizzle swizzle, union isl_color_value color) clear_color() argument
395 can_fast_clear_depth(struct crocus_context *ice, struct crocus_resource *res, unsigned level, const struct pipe_box *box, bool render_condition_enabled, float depth) can_fast_clear_depth() argument
451 fast_clear_depth(struct crocus_context *ice, struct crocus_resource *res, unsigned level, const struct pipe_box *box, float depth) fast_clear_depth() argument
539 clear_depth_stencil(struct crocus_context *ice, struct pipe_resource *p_res, unsigned level, const struct pipe_box *box, bool render_condition_enabled, bool clear_depth, bool clear_stencil, float depth, uint8_t stencil) clear_depth_stencil() argument
646 struct crocus_context *ice = (void *) ctx; crocus_clear() local
714 struct crocus_context *ice = (void *) ctx; crocus_clear_texture() local
789 struct crocus_context *ice = (void *) ctx; crocus_clear_render_target() local
[all...]
H A Dcrocus_monitor.c120 crocus_monitor_emit_mi_flush(struct crocus_context *ice)
130 crocus_emit_pipe_control_flush(&ice->batches[CROCUS_BATCH_RENDER],
141 struct crocus_context *ice = c; in crocus_monitor_emit_mi_report_perf_count() local
142 struct crocus_batch *batch = &ice->batches[CROCUS_BATCH_RENDER]; in crocus_monitor_emit_mi_report_perf_count()
150 struct crocus_context *ice = c; in crocus_monitor_batchbuffer_flush() local
151 _crocus_batch_flush(&ice->batches[CROCUS_BATCH_RENDER], __FILE__, __LINE__); in crocus_monitor_batchbuffer_flush()
160 struct crocus_context *ice = ctx;
161 struct crocus_batch *batch = &ice->batches[CROCUS_BATCH_RENDER];
162 ice->vtbl.store_register_mem32(batch, GEN9_RPSTAT0, bo, bo_offset, false);
169 struct crocus_context *ice
302 crocus_init_monitor_ctx(struct crocus_context *ice) crocus_init_monitor_ctx() argument
325 crocus_create_monitor_object(struct crocus_context *ice, unsigned num_queries, unsigned *query_types) crocus_create_monitor_object() argument
395 struct crocus_context *ice = (struct crocus_context *)ctx; crocus_destroy_monitor_object() local
409 struct crocus_context *ice = (void *) ctx; crocus_begin_monitor() local
419 struct crocus_context *ice = (void *) ctx; crocus_end_monitor() local
432 struct crocus_context *ice = (void *) ctx; crocus_get_monitor_result() local
[all...]
H A Dcrocus_resolve.c42 crocus_update_stencil_shadow(struct crocus_context *ice,
51 disable_rb_aux_buffer(struct crocus_context *ice, in disable_rb_aux_buffer() argument
57 struct pipe_framebuffer_state *cso_fb = &ice->state.framebuffer; in disable_rb_aux_buffer()
79 perf_debug(&ice->dbg, in disable_rb_aux_buffer()
88 resolve_sampler_views(struct crocus_context *ice, in resolve_sampler_views() argument
103 disable_rb_aux_buffer(ice, draw_aux_buffer_disabled, isv->res, in resolve_sampler_views()
108 crocus_resource_prepare_texture(ice, isv->res, isv->view.format, in resolve_sampler_views()
122 crocus_update_stencil_shadow(ice, sres); in resolve_sampler_views()
129 resolve_image_views(struct crocus_context *ice, in resolve_image_views() argument
145 disable_rb_aux_buffer(ice, draw_aux_buffer_disable in resolve_image_views()
197 crocus_predraw_resolve_inputs(struct crocus_context *ice, struct crocus_batch *batch, bool *draw_aux_buffer_disabled, gl_shader_stage stage, bool consider_framebuffer) crocus_predraw_resolve_inputs() argument
218 crocus_predraw_resolve_framebuffer(struct crocus_context *ice, struct crocus_batch *batch, bool *draw_aux_buffer_disabled) crocus_predraw_resolve_framebuffer() argument
316 crocus_postdraw_update_resolve_tracking(struct crocus_context *ice, struct crocus_batch *batch) crocus_postdraw_update_resolve_tracking() argument
525 crocus_resolve_color(struct crocus_context *ice, struct crocus_batch *batch, struct crocus_resource *res, unsigned level, unsigned layer, enum isl_aux_op resolve_op) crocus_resolve_color() argument
568 crocus_mcs_partial_resolve(struct crocus_context *ice, struct crocus_batch *batch, struct crocus_resource *res, uint32_t start_layer, uint32_t num_layers) crocus_mcs_partial_resolve() argument
603 crocus_hiz_exec(struct crocus_context *ice, struct crocus_batch *batch, struct crocus_resource *res, unsigned int level, unsigned int start_layer, unsigned int num_layers, enum isl_aux_op op, bool update_clear_depth) crocus_hiz_exec() argument
820 crocus_resource_prepare_access(struct crocus_context *ice, struct crocus_resource *res, uint32_t start_level, uint32_t num_levels, uint32_t start_layer, uint32_t num_layers, enum isl_aux_usage aux_usage, bool fast_clear_supported) crocus_resource_prepare_access() argument
879 crocus_resource_finish_write(struct crocus_context *ice, struct crocus_resource *res, uint32_t level, uint32_t start_layer, uint32_t num_layers, enum isl_aux_usage aux_usage) crocus_resource_finish_write() argument
924 crocus_resource_set_aux_state(struct crocus_context *ice, struct crocus_resource *res, uint32_t level, uint32_t start_layer, uint32_t num_layers, enum isl_aux_state aux_state) crocus_resource_set_aux_state() argument
961 crocus_resource_prepare_texture(struct crocus_context *ice, struct crocus_resource *res, enum isl_format view_format, uint32_t start_level, uint32_t num_levels, uint32_t start_layer, uint32_t num_layers) crocus_resource_prepare_texture() argument
985 crocus_resource_render_aux_usage(struct crocus_context *ice, struct crocus_resource *res, uint32_t level, enum isl_format render_format, bool draw_aux_disabled) crocus_resource_render_aux_usage() argument
1019 crocus_resource_prepare_render(struct crocus_context *ice, struct crocus_resource *res, uint32_t level, uint32_t start_layer, uint32_t layer_count, enum isl_aux_usage aux_usage) crocus_resource_prepare_render() argument
1030 crocus_resource_finish_render(struct crocus_context *ice, struct crocus_resource *res, uint32_t level, uint32_t start_layer, uint32_t layer_count, enum isl_aux_usage aux_usage) crocus_resource_finish_render() argument
1040 crocus_update_stencil_shadow(struct crocus_context *ice, struct crocus_resource *res) crocus_update_stencil_shadow() argument
[all...]
H A Dcrocus_pipe_control.c189 batch->ice->workaround_bo, in crocus_emit_end_of_pipe_sync()
190 batch->ice->workaround_offset, 0); in crocus_emit_end_of_pipe_sync()
195 batch->ice->workaround_bo, in crocus_emit_end_of_pipe_sync()
196 batch->ice->workaround_offset); in crocus_emit_end_of_pipe_sync()
273 batch->ice->workaround_bo, in crocus_emit_post_sync_nonzero_flush()
274 batch->ice->workaround_offset, 0); in crocus_emit_post_sync_nonzero_flush()
298 struct crocus_context *ice = (void *) ctx; in crocus_texture_barrier() local
299 struct crocus_batch *render_batch = &ice->batches[CROCUS_BATCH_RENDER]; in crocus_texture_barrier()
300 struct crocus_batch *compute_batch = &ice->batches[CROCUS_BATCH_COMPUTE]; in crocus_texture_barrier()
334 struct crocus_context *ice in crocus_memory_barrier() local
[all...]

Completed in 34 milliseconds

123