Lines Matching defs:pctx
280 v3d_uncompiled_shader_create(struct pipe_context *pctx,
283 struct v3d_context *v3d = v3d_context(pctx);
306 s = tgsi_to_nir(ir, pctx->screen, false);
355 v3d_shader_state_create(struct pipe_context *pctx,
359 v3d_uncompiled_shader_create(pctx,
920 v3d_shader_state_delete(struct pipe_context *pctx, void *hwcso)
922 struct v3d_context *v3d = v3d_context(pctx);
951 v3d_fp_state_bind(struct pipe_context *pctx, void *hwcso)
953 struct v3d_context *v3d = v3d_context(pctx);
959 v3d_gp_state_bind(struct pipe_context *pctx, void *hwcso)
961 struct v3d_context *v3d = v3d_context(pctx);
967 v3d_vp_state_bind(struct pipe_context *pctx, void *hwcso)
969 struct v3d_context *v3d = v3d_context(pctx);
975 v3d_compute_state_bind(struct pipe_context *pctx, void *state)
977 struct v3d_context *v3d = v3d_context(pctx);
984 v3d_create_compute_state(struct pipe_context *pctx,
987 return v3d_uncompiled_shader_create(pctx, cso->ir_type,
992 v3d_program_init(struct pipe_context *pctx)
994 struct v3d_context *v3d = v3d_context(pctx);
996 pctx->create_vs_state = v3d_shader_state_create;
997 pctx->delete_vs_state = v3d_shader_state_delete;
999 pctx->create_gs_state = v3d_shader_state_create;
1000 pctx->delete_gs_state = v3d_shader_state_delete;
1002 pctx->create_fs_state = v3d_shader_state_create;
1003 pctx->delete_fs_state = v3d_shader_state_delete;
1005 pctx->bind_fs_state = v3d_fp_state_bind;
1006 pctx->bind_gs_state = v3d_gp_state_bind;
1007 pctx->bind_vs_state = v3d_vp_state_bind;
1010 pctx->create_compute_state = v3d_create_compute_state;
1011 pctx->delete_compute_state = v3d_shader_state_delete;
1012 pctx->bind_compute_state = v3d_compute_state_bind;
1016 _mesa_hash_table_create(pctx, vs_cache_hash, vs_cache_compare);
1018 _mesa_hash_table_create(pctx, gs_cache_hash, gs_cache_compare);
1020 _mesa_hash_table_create(pctx, fs_cache_hash, fs_cache_compare);
1022 _mesa_hash_table_create(pctx, cs_cache_hash, cs_cache_compare);
1026 v3d_program_fini(struct pipe_context *pctx)
1028 struct v3d_context *v3d = v3d_context(pctx);