Lines Matching defs:ctx

201    struct pipe_context *ctx = &ice->ctx;
202 struct iris_screen *screen = (struct iris_screen *) ctx->screen;
1398 struct iris_screen *screen = (struct iris_screen *)ice->ctx.screen;
1603 struct iris_screen *screen = (struct iris_screen *)ice->ctx.screen;
1766 struct iris_screen *screen = (struct iris_screen *)ice->ctx.screen;
1910 struct iris_screen *screen = (struct iris_screen *)ice->ctx.screen;
2044 struct iris_screen *screen = (struct iris_screen *)ice->ctx.screen;
2312 struct iris_screen *screen = (struct iris_screen *)ice->ctx.screen;
2371 struct iris_screen *screen = (struct iris_screen *)ice->ctx.screen;
2403 struct iris_screen *screen = (struct iris_screen *)ice->ctx.screen;
2486 iris_create_compute_state(struct pipe_context *ctx,
2489 struct iris_context *ice = (void *) ctx;
2490 struct iris_screen *screen = (void *) ctx->screen;
2582 iris_create_shader_state(struct pipe_context *ctx,
2585 struct iris_context *ice = (void *) ctx;
2586 struct iris_screen *screen = (void *) ctx->screen;
2590 nir = tgsi_to_nir(state->tokens, ctx->screen, false);
2734 iris_destroy_shader_state(struct pipe_context *ctx, void *state)
2759 iris_delete_shader_state(struct pipe_context *ctx, void *state)
2762 struct iris_context *ice = (void *) ctx;
2772 iris_destroy_shader_state(ctx, state);
2812 iris_bind_vs_state(struct pipe_context *ctx, void *state)
2814 struct iris_context *ice = (struct iris_context *)ctx;
2852 bind_shader_state((void *) ctx, state, MESA_SHADER_VERTEX);
2856 iris_bind_tcs_state(struct pipe_context *ctx, void *state)
2858 bind_shader_state((void *) ctx, state, MESA_SHADER_TESS_CTRL);
2862 iris_bind_tes_state(struct pipe_context *ctx, void *state)
2864 struct iris_context *ice = (struct iris_context *)ctx;
2865 struct iris_screen *screen = (struct iris_screen *) ctx->screen;
2873 bind_shader_state((void *) ctx, state, MESA_SHADER_TESS_EVAL);
2877 iris_bind_gs_state(struct pipe_context *ctx, void *state)
2879 struct iris_context *ice = (struct iris_context *)ctx;
2885 bind_shader_state((void *) ctx, state, MESA_SHADER_GEOMETRY);
2889 iris_bind_fs_state(struct pipe_context *ctx, void *state)
2891 struct iris_context *ice = (struct iris_context *) ctx;
2892 struct iris_screen *screen = (struct iris_screen *) ctx->screen;
2911 bind_shader_state((void *) ctx, state, MESA_SHADER_FRAGMENT);
2915 iris_bind_cs_state(struct pipe_context *ctx, void *state)
2917 bind_shader_state((void *) ctx, state, MESA_SHADER_COMPUTE);
2982 iris_init_program_functions(struct pipe_context *ctx)
2984 ctx->create_vs_state = iris_create_shader_state;
2985 ctx->create_tcs_state = iris_create_shader_state;
2986 ctx->create_tes_state = iris_create_shader_state;
2987 ctx->create_gs_state = iris_create_shader_state;
2988 ctx->create_fs_state = iris_create_shader_state;
2989 ctx->create_compute_state = iris_create_compute_state;
2991 ctx->delete_vs_state = iris_delete_shader_state;
2992 ctx->delete_tcs_state = iris_delete_shader_state;
2993 ctx->delete_tes_state = iris_delete_shader_state;
2994 ctx->delete_gs_state = iris_delete_shader_state;
2995 ctx->delete_fs_state = iris_delete_shader_state;
2996 ctx->delete_compute_state = iris_delete_shader_state;
2998 ctx->bind_vs_state = iris_bind_vs_state;
2999 ctx->bind_tcs_state = iris_bind_tcs_state;
3000 ctx->bind_tes_state = iris_bind_tes_state;
3001 ctx->bind_gs_state = iris_bind_gs_state;
3002 ctx->bind_fs_state = iris_bind_fs_state;
3003 ctx->bind_compute_state = iris_bind_cs_state;