Lines Matching full:pctx
2382 vc4_shader_state_create(struct pipe_context *pctx,
2385 struct vc4_context *vc4 = vc4_context(pctx);
2862 vc4_shader_state_delete(struct pipe_context *pctx, void *hwcso)
2864 struct vc4_context *vc4 = vc4_context(pctx);
2878 vc4_fp_state_bind(struct pipe_context *pctx, void *hwcso)
2880 struct vc4_context *vc4 = vc4_context(pctx);
2886 vc4_vp_state_bind(struct pipe_context *pctx, void *hwcso)
2888 struct vc4_context *vc4 = vc4_context(pctx);
2894 vc4_program_init(struct pipe_context *pctx)
2896 struct vc4_context *vc4 = vc4_context(pctx);
2898 pctx->create_vs_state = vc4_shader_state_create;
2899 pctx->delete_vs_state = vc4_shader_state_delete;
2901 pctx->create_fs_state = vc4_shader_state_create;
2902 pctx->delete_fs_state = vc4_shader_state_delete;
2904 pctx->bind_fs_state = vc4_fp_state_bind;
2905 pctx->bind_vs_state = vc4_vp_state_bind;
2907 vc4->fs_cache = _mesa_hash_table_create(pctx, fs_cache_hash,
2909 vc4->vs_cache = _mesa_hash_table_create(pctx, vs_cache_hash,
2911 vc4->fs_inputs_set = _mesa_set_create(pctx, fs_inputs_hash,
2916 vc4_program_fini(struct pipe_context *pctx)
2918 struct vc4_context *vc4 = vc4_context(pctx);