Lines Matching defs:ctx
906 uint32_t *map = pipe_buffer_map_range(&ice->ctx, ice->state.pixel_hashing_tables,
932 pipe_buffer_unmap(&ice->ctx, transfer);
1297 iris_set_blend_color(struct pipe_context *ctx,
1300 struct iris_context *ice = (struct iris_context *) ctx;
1350 iris_create_blend_state(struct pipe_context *ctx,
1457 iris_bind_blend_state(struct pipe_context *ctx, void *state)
1459 struct iris_context *ice = (struct iris_context *) ctx;
1522 iris_create_zsa_state(struct pipe_context *ctx,
1590 iris_bind_zsa_state(struct pipe_context *ctx, void *state)
1592 struct iris_context *ice = (struct iris_context *) ctx;
1632 UNUSED struct iris_screen *screen = (void *) ice->ctx.screen;
1864 iris_create_rasterizer_state(struct pipe_context *ctx,
2004 iris_bind_rasterizer_state(struct pipe_context *ctx, void *state)
2006 struct iris_context *ice = (struct iris_context *) ctx;
2150 iris_create_sampler_state(struct pipe_context *ctx,
2153 UNUSED struct iris_screen *screen = (void *)ctx->screen;
2189 iris_bind_sampler_states(struct pipe_context *ctx,
2194 struct iris_context *ice = (struct iris_context *) ctx;
2223 struct iris_screen *screen = (struct iris_screen *) ice->ctx.screen;
2531 iris_create_sampler_view(struct pipe_context *ctx,
2535 struct iris_screen *screen = (struct iris_screen *)ctx->screen;
2544 isv->base.context = ctx;
2633 iris_sampler_view_destroy(struct pipe_context *ctx,
2650 iris_create_surface(struct pipe_context *ctx,
2654 struct iris_screen *screen = (struct iris_screen *)ctx->screen;
2773 psurf->context = ctx;
2851 iris_set_shader_images(struct pipe_context *ctx,
2857 struct iris_context *ice = (struct iris_context *) ctx;
2858 struct iris_screen *screen = (struct iris_screen *)ctx->screen;
2953 iris_set_shader_images(ctx, p_stage, start_slot + count,
2968 iris_set_sampler_views(struct pipe_context *ctx,
2975 struct iris_context *ice = (struct iris_context *) ctx;
2976 UNUSED struct iris_screen *screen = (void *) ctx->screen;
3025 iris_set_compute_resources(struct pipe_context *ctx,
3033 iris_set_global_binding(struct pipe_context *ctx,
3038 struct iris_context *ice = (struct iris_context *) ctx;
3068 iris_set_tess_state(struct pipe_context *ctx,
3072 struct iris_context *ice = (struct iris_context *) ctx;
3083 iris_set_patch_vertices(struct pipe_context *ctx, uint8_t patch_vertices)
3085 struct iris_context *ice = (struct iris_context *) ctx;
3091 iris_surface_destroy(struct pipe_context *ctx, struct pipe_surface *p_surf)
3103 iris_set_clip_state(struct pipe_context *ctx,
3106 struct iris_context *ice = (struct iris_context *) ctx;
3125 iris_set_polygon_stipple(struct pipe_context *ctx,
3128 struct iris_context *ice = (struct iris_context *) ctx;
3137 iris_set_sample_mask(struct pipe_context *ctx, unsigned sample_mask)
3139 struct iris_context *ice = (struct iris_context *) ctx;
3155 iris_set_scissor_states(struct pipe_context *ctx,
3160 struct iris_context *ice = (struct iris_context *) ctx;
3190 iris_set_stencil_ref(struct pipe_context *ctx,
3193 struct iris_context *ice = (struct iris_context *) ctx;
3217 iris_set_viewport_states(struct pipe_context *ctx,
3222 struct iris_context *ice = (struct iris_context *) ctx;
3240 iris_set_framebuffer_state(struct pipe_context *ctx,
3243 struct iris_context *ice = (struct iris_context *) ctx;
3244 struct iris_screen *screen = (struct iris_screen *)ctx->screen;
3369 iris_set_constant_buffer(struct pipe_context *ctx,
3374 struct iris_context *ice = (struct iris_context *) ctx;
3388 u_upload_alloc(ice->ctx.const_uploader, 0, input->buffer_size, 64,
3393 iris_set_constant_buffer(ctx, p_stage, index, false, NULL);
3455 u_upload_alloc(ice->ctx.const_uploader, 0, upload_size, 64,
3530 iris_set_shader_buffers(struct pipe_context *ctx,
3536 struct iris_context *ice = (struct iris_context *) ctx;
3581 iris_delete_state(struct pipe_context *ctx, void *state)
3592 iris_set_vertex_buffers(struct pipe_context *ctx,
3598 struct iris_context *ice = (struct iris_context *) ctx;
3599 struct iris_screen *screen = (struct iris_screen *)ctx->screen;
3691 iris_create_vertex_elements(struct pipe_context *ctx,
3695 struct iris_screen *screen = (struct iris_screen *)ctx->screen;
3795 iris_bind_vertex_elements_state(struct pipe_context *ctx, void *state)
3797 struct iris_context *ice = (struct iris_context *) ctx;
3820 iris_create_stream_output_target(struct pipe_context *ctx,
3836 cso->base.context = ctx;
3845 iris_stream_output_target_destroy(struct pipe_context *ctx,
3864 iris_set_stream_output_targets(struct pipe_context *ctx,
3869 struct iris_context *ice = (struct iris_context *) ctx;
3872 struct iris_screen *screen = (struct iris_screen *)ctx->screen;
3926 upload_state(ctx->const_uploader, &tgt->offset, sizeof(uint32_t), 4);
4424 struct iris_screen *screen = (void *) ice->ctx.screen;
6920 u_upload_data(ice->ctx.const_uploader, start_offset,
7468 struct pipe_context *ctx = &ice->ctx;
7570 iris_set_shader_buffers(ctx, p_stage, i, 1, &buf,
8390 iris_set_frontend_noop(struct pipe_context *ctx, bool enable)
8392 struct iris_context *ice = (struct iris_context *) ctx;
8445 struct pipe_context *ctx = &ice->ctx;
8446 struct iris_screen *screen = (struct iris_screen *)ctx->screen;
8448 ctx->create_blend_state = iris_create_blend_state;
8449 ctx->create_depth_stencil_alpha_state = iris_create_zsa_state;
8450 ctx->create_rasterizer_state = iris_create_rasterizer_state;
8451 ctx->create_sampler_state = iris_create_sampler_state;
8452 ctx->create_sampler_view = iris_create_sampler_view;
8453 ctx->create_surface = iris_create_surface;
8454 ctx->create_vertex_elements_state = iris_create_vertex_elements;
8455 ctx->bind_blend_state = iris_bind_blend_state;
8456 ctx->bind_depth_stencil_alpha_state = iris_bind_zsa_state;
8457 ctx->bind_sampler_states = iris_bind_sampler_states;
8458 ctx->bind_rasterizer_state = iris_bind_rasterizer_state;
8459 ctx->bind_vertex_elements_state = iris_bind_vertex_elements_state;
8460 ctx->delete_blend_state = iris_delete_state;
8461 ctx->delete_depth_stencil_alpha_state = iris_delete_state;
8462 ctx->delete_rasterizer_state = iris_delete_state;
8463 ctx->delete_sampler_state = iris_delete_state;
8464 ctx->delete_vertex_elements_state = iris_delete_state;
8465 ctx->set_blend_color = iris_set_blend_color;
8466 ctx->set_clip_state = iris_set_clip_state;
8467 ctx->set_constant_buffer = iris_set_constant_buffer;
8468 ctx->set_shader_buffers = iris_set_shader_buffers;
8469 ctx->set_shader_images = iris_set_shader_images;
8470 ctx->set_sampler_views = iris_set_sampler_views;
8471 ctx->set_compute_resources = iris_set_compute_resources;
8472 ctx->set_global_binding = iris_set_global_binding;
8473 ctx->set_tess_state = iris_set_tess_state;
8474 ctx->set_patch_vertices = iris_set_patch_vertices;
8475 ctx->set_framebuffer_state = iris_set_framebuffer_state;
8476 ctx->set_polygon_stipple = iris_set_polygon_stipple;
8477 ctx->set_sample_mask = iris_set_sample_mask;
8478 ctx->set_scissor_states = iris_set_scissor_states;
8479 ctx->set_stencil_ref = iris_set_stencil_ref;
8480 ctx->set_vertex_buffers = iris_set_vertex_buffers;
8481 ctx->set_viewport_states = iris_set_viewport_states;
8482 ctx->sampler_view_destroy = iris_sampler_view_destroy;
8483 ctx->surface_destroy = iris_surface_destroy;
8484 ctx->draw_vbo = iris_draw_vbo;
8485 ctx->launch_grid = iris_launch_grid;
8486 ctx->create_stream_output_target = iris_create_stream_output_target;
8487 ctx->stream_output_target_destroy = iris_stream_output_target_destroy;
8488 ctx->set_stream_output_targets = iris_set_stream_output_targets;
8489 ctx->set_frontend_noop = iris_set_frontend_noop;