Lines Matching defs:pctx
2413 vc4_shader_state_create(struct pipe_context *pctx,
2416 struct vc4_context *vc4 = vc4_context(pctx);
2439 s = tgsi_to_nir(cso->tokens, pctx->screen, false);
2873 vc4_shader_state_delete(struct pipe_context *pctx, void *hwcso)
2875 struct vc4_context *vc4 = vc4_context(pctx);
2892 vc4_fp_state_bind(struct pipe_context *pctx, void *hwcso)
2894 struct vc4_context *vc4 = vc4_context(pctx);
2900 vc4_vp_state_bind(struct pipe_context *pctx, void *hwcso)
2902 struct vc4_context *vc4 = vc4_context(pctx);
2908 vc4_program_init(struct pipe_context *pctx)
2910 struct vc4_context *vc4 = vc4_context(pctx);
2912 pctx->create_vs_state = vc4_shader_state_create;
2913 pctx->delete_vs_state = vc4_shader_state_delete;
2915 pctx->create_fs_state = vc4_shader_state_create;
2916 pctx->delete_fs_state = vc4_shader_state_delete;
2918 pctx->bind_fs_state = vc4_fp_state_bind;
2919 pctx->bind_vs_state = vc4_vp_state_bind;
2921 vc4->fs_cache = _mesa_hash_table_create(pctx, fs_cache_hash,
2923 vc4->vs_cache = _mesa_hash_table_create(pctx, vs_cache_hash,
2925 vc4->fs_inputs_set = _mesa_set_create(pctx, fs_inputs_hash,
2930 vc4_program_fini(struct pipe_context *pctx)
2932 struct vc4_context *vc4 = vc4_context(pctx);