/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/ |
H A D | ir3_gallium.c | 177 create_initial_variants(struct ir3_shader_state *hwcso, in create_initial_variants() argument 180 struct ir3_shader *shader = hwcso->shader; in create_initial_variants() 247 struct ir3_shader_state *hwcso = job; in create_initial_variants_async() local 250 create_initial_variants(hwcso, &debug); in create_initial_variants_async() 256 struct ir3_shader_state *hwcso = job; in create_initial_compute_variants_async() local 257 struct ir3_shader *shader = hwcso->shader; in create_initial_compute_variants_async() 320 struct ir3_shader_state *hwcso = calloc(1, sizeof(*hwcso)); in ir3_shader_compute_state_create() local 322 util_queue_fence_init(&hwcso->ready); in ir3_shader_compute_state_create() 323 hwcso in ir3_shader_compute_state_create() 349 struct ir3_shader_state *hwcso = calloc(1, sizeof(*hwcso)); ir3_shader_state_create() local 409 struct ir3_shader_state *hwcso = _hwcso; ir3_shader_state_delete() local 441 ir3_get_shader(struct ir3_shader_state *hwcso) ir3_get_shader() argument 459 ir3_get_shader_info(struct ir3_shader_state *hwcso) ir3_get_shader_info() argument 521 struct ir3_shader_state *hwcso = (struct ir3_shader_state *)shader; ir3_is_parallel_shader_compilation_finished() local [all...] |
H A D | ir3_gallium.h | 37 * The ir3 hwcso type, use ir3_get_shader() to dereference the 50 void ir3_shader_state_delete(struct pipe_context *pctx, void *hwcso); 52 struct ir3_shader *ir3_get_shader(struct ir3_shader_state *hwcso); 53 struct shader_info *ir3_get_shader_info(struct ir3_shader_state *hwcso);
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
H A D | freedreno_program.c | 55 fd_vs_state_bind(struct pipe_context *pctx, void *hwcso) in_dt 58 ctx->prog.vs = hwcso; 60 update_bound_stage(ctx, PIPE_SHADER_VERTEX, !!hwcso); 64 fd_tcs_state_bind(struct pipe_context *pctx, void *hwcso) in_dt 67 ctx->prog.hs = hwcso; 69 update_bound_stage(ctx, PIPE_SHADER_TESS_CTRL, !!hwcso); 73 fd_tes_state_bind(struct pipe_context *pctx, void *hwcso) in_dt 76 ctx->prog.ds = hwcso; 78 update_bound_stage(ctx, PIPE_SHADER_TESS_EVAL, !!hwcso); 82 fd_gs_state_bind(struct pipe_context *pctx, void *hwcso) in_d [all...] |
H A D | freedreno_texture.c | 38 fd_sampler_state_delete(struct pipe_context *pctx, void *hwcso) in fd_sampler_state_delete() argument 40 FREE(hwcso); in fd_sampler_state_delete() 53 unsigned nr, void **hwcso) in bind_sampler_states() 59 tex->samplers[p] = hwcso ? hwcso[i] : NULL; in bind_sampler_states() 105 unsigned start, unsigned nr, void **hwcso) in_dt 109 bind_sampler_states(&ctx->tex[shader], start, nr, hwcso); 52 bind_sampler_states(struct fd_texture_stateobj *tex, unsigned start, unsigned nr, void **hwcso) bind_sampler_states() argument
|
H A D | freedreno_state.c | 420 fd_blend_state_bind(struct pipe_context *pctx, void *hwcso) in_dt 423 struct pipe_blend_state *cso = hwcso; 429 ctx->blend = hwcso; 437 fd_blend_state_delete(struct pipe_context *pctx, void *hwcso) in_dt 439 FREE(hwcso); variable 443 fd_rasterizer_state_bind(struct pipe_context *pctx, void *hwcso) in_dt 450 ctx->rasterizer = hwcso; 475 fd_rasterizer_state_delete(struct pipe_context *pctx, void *hwcso) in_dt 477 FREE(hwcso); variable 481 fd_zsa_state_bind(struct pipe_context *pctx, void *hwcso) in_d 492 FREE(hwcso); global() variable 513 FREE(hwcso); global() variable [all...] |
/third_party/mesa3d/src/gallium/drivers/lima/ |
H A D | lima_state.c | 82 lima_bind_depth_stencil_alpha_state(struct pipe_context *pctx, void *hwcso) in lima_bind_depth_stencil_alpha_state() argument 86 ctx->zsa = hwcso; in lima_bind_depth_stencil_alpha_state() 91 lima_delete_depth_stencil_alpha_state(struct pipe_context *pctx, void *hwcso) in lima_delete_depth_stencil_alpha_state() argument 93 FREE(hwcso); in lima_delete_depth_stencil_alpha_state() 112 lima_bind_rasterizer_state(struct pipe_context *pctx, void *hwcso) in lima_bind_rasterizer_state() argument 116 ctx->rasterizer = hwcso; in lima_bind_rasterizer_state() 121 lima_delete_rasterizer_state(struct pipe_context *pctx, void *hwcso) in lima_delete_rasterizer_state() argument 123 FREE(hwcso); in lima_delete_rasterizer_state() 142 lima_bind_blend_state(struct pipe_context *pctx, void *hwcso) in lima_bind_blend_state() argument 146 ctx->blend = hwcso; in lima_bind_blend_state() 151 lima_delete_blend_state(struct pipe_context *pctx, void *hwcso) lima_delete_blend_state() argument 173 lima_bind_vertex_elements_state(struct pipe_context *pctx, void *hwcso) lima_bind_vertex_elements_state() argument 182 lima_delete_vertex_elements_state(struct pipe_context *pctx, void *hwcso) lima_delete_vertex_elements_state() argument 324 lima_sampler_states_bind(struct pipe_context *pctx, enum pipe_shader_type shader, unsigned start, unsigned nr, void **hwcso) lima_sampler_states_bind() argument [all...] |
H A D | lima_program.c | 444 lima_bind_fs_state(struct pipe_context *pctx, void *hwcso) in lima_bind_fs_state() argument 448 ctx->uncomp_fs = hwcso; in lima_bind_fs_state() 453 lima_delete_fs_state(struct pipe_context *pctx, void *hwcso) in lima_delete_fs_state() argument 456 struct lima_fs_uncompiled_shader *so = hwcso; in lima_delete_fs_state() 687 lima_bind_vs_state(struct pipe_context *pctx, void *hwcso) in lima_bind_vs_state() argument 691 ctx->uncomp_vs = hwcso; in lima_bind_vs_state() 696 lima_delete_vs_state(struct pipe_context *pctx, void *hwcso) in lima_delete_vs_state() argument 699 struct lima_vs_uncompiled_shader *so = hwcso; in lima_delete_vs_state()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A D | nv30_state.c | 119 nv30_blend_state_bind(struct pipe_context *pipe, void *hwcso) in nv30_blend_state_bind() argument 123 nv30->blend = hwcso; in nv30_blend_state_bind() 128 nv30_blend_state_delete(struct pipe_context *pipe, void *hwcso) in nv30_blend_state_delete() argument 130 FREE(hwcso); in nv30_blend_state_delete() 196 nv30_rasterizer_state_bind(struct pipe_context *pipe, void *hwcso) in nv30_rasterizer_state_bind() argument 200 nv30->rast = hwcso; in nv30_rasterizer_state_bind() 205 nv30_rasterizer_state_delete(struct pipe_context *pipe, void *hwcso) in nv30_rasterizer_state_delete() argument 207 FREE(hwcso); in nv30_rasterizer_state_delete() 274 nv30_zsa_state_bind(struct pipe_context *pipe, void *hwcso) in nv30_zsa_state_bind() argument 278 nv30->zsa = hwcso; in nv30_zsa_state_bind() 283 nv30_zsa_state_delete(struct pipe_context *pipe, void *hwcso) nv30_zsa_state_delete() argument [all...] |
H A D | nv30_fragprog.c | 157 nv30_fp_state_delete(struct pipe_context *pipe, void *hwcso) in nv30_fp_state_delete() argument 159 struct nv30_fragprog *fp = hwcso; in nv30_fp_state_delete() 173 nv30_fp_state_bind(struct pipe_context *pipe, void *hwcso) in nv30_fp_state_bind() argument 176 struct nv30_fragprog *fp = hwcso; in nv30_fp_state_bind()
|
H A D | nv40_verttex.c | 53 unsigned nr, void **hwcso) in nv40_verttex_sampler_states_bind() 59 nv30->vertprog.samplers[i] = hwcso[i]; in nv40_verttex_sampler_states_bind() 52 nv40_verttex_sampler_states_bind(struct pipe_context *pipe, unsigned nr, void **hwcso) nv40_verttex_sampler_states_bind() argument
|
H A D | nv30_vertprog.c | 243 nv30_vp_state_delete(struct pipe_context *pipe, void *hwcso) in nv30_vp_state_delete() argument 245 struct nv30_vertprog *vp = hwcso; in nv30_vp_state_delete() 258 nv30_vp_state_bind(struct pipe_context *pipe, void *hwcso) in nv30_vp_state_bind() argument 262 nv30->vertprog.program = hwcso; in nv30_vp_state_bind()
|
H A D | nv30_context.h | 183 unsigned nr, void **hwcso); 187 unsigned nr, void **hwcso);
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_state.c | 45 vc4_generic_cso_state_delete(struct pipe_context *pctx, void *hwcso) in vc4_generic_cso_state_delete() argument 47 free(hwcso); in vc4_generic_cso_state_delete() 333 vc4_blend_state_bind(struct pipe_context *pctx, void *hwcso) in vc4_blend_state_bind() argument 336 vc4->blend = hwcso; in vc4_blend_state_bind() 341 vc4_rasterizer_state_bind(struct pipe_context *pctx, void *hwcso) in vc4_rasterizer_state_bind() argument 344 struct vc4_rasterizer_state *rast = hwcso; in vc4_rasterizer_state_bind() 351 vc4->rasterizer = hwcso; in vc4_rasterizer_state_bind() 356 vc4_zsa_state_bind(struct pipe_context *pctx, void *hwcso) in vc4_zsa_state_bind() argument 359 vc4->zsa = hwcso; in vc4_zsa_state_bind() 379 vc4_vertex_state_bind(struct pipe_context *pctx, void *hwcso) in vc4_vertex_state_bind() argument 527 vc4_sampler_states_bind(struct pipe_context *pctx, enum pipe_shader_type shader, unsigned start, unsigned nr, void **hwcso) vc4_sampler_states_bind() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_state.c | 196 nvc0_blend_state_bind(struct pipe_context *pipe, void *hwcso) in nvc0_blend_state_bind() argument 200 nvc0->blend = hwcso; in nvc0_blend_state_bind() 205 nvc0_blend_state_delete(struct pipe_context *pipe, void *hwcso) in nvc0_blend_state_delete() argument 207 FREE(hwcso); in nvc0_blend_state_delete() 348 nvc0_rasterizer_state_bind(struct pipe_context *pipe, void *hwcso) in nvc0_rasterizer_state_bind() argument 352 nvc0->rast = hwcso; in nvc0_rasterizer_state_bind() 357 nvc0_rasterizer_state_delete(struct pipe_context *pipe, void *hwcso) in nvc0_rasterizer_state_delete() argument 359 FREE(hwcso); in nvc0_rasterizer_state_delete() 426 nvc0_zsa_state_bind(struct pipe_context *pipe, void *hwcso) in nvc0_zsa_state_bind() argument 430 nvc0->zsa = hwcso; in nvc0_zsa_state_bind() 435 nvc0_zsa_state_delete(struct pipe_context *pipe, void *hwcso) nvc0_zsa_state_delete() argument 447 nvc0_sampler_state_delete(struct pipe_context *pipe, void *hwcso) nvc0_sampler_state_delete() argument 470 struct nv50_tsc_entry *hwcso = hwcsos ? nv50_tsc_entry(hwcsos[i]) : NULL; nvc0_stage_sampler_states_bind() local 636 nvc0_sp_state_delete(struct pipe_context *pipe, void *hwcso) nvc0_sp_state_delete() argument 657 nvc0_vp_state_bind(struct pipe_context *pipe, void *hwcso) nvc0_vp_state_bind() argument 673 nvc0_fp_state_bind(struct pipe_context *pipe, void *hwcso) nvc0_fp_state_bind() argument 689 nvc0_gp_state_bind(struct pipe_context *pipe, void *hwcso) nvc0_gp_state_bind() argument 705 nvc0_tcp_state_bind(struct pipe_context *pipe, void *hwcso) nvc0_tcp_state_bind() argument 721 nvc0_tep_state_bind(struct pipe_context *pipe, void *hwcso) nvc0_tep_state_bind() argument 776 nvc0_cp_state_bind(struct pipe_context *pipe, void *hwcso) nvc0_cp_state_bind() argument 1069 nvc0_vertex_state_bind(struct pipe_context *pipe, void *hwcso) nvc0_vertex_state_bind() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_state.c | 209 nv50_blend_state_bind(struct pipe_context *pipe, void *hwcso) in nv50_blend_state_bind() argument 213 nv50->blend = hwcso; in nv50_blend_state_bind() 218 nv50_blend_state_delete(struct pipe_context *pipe, void *hwcso) in nv50_blend_state_delete() argument 220 FREE(hwcso); in nv50_blend_state_delete() 346 nv50_rasterizer_state_bind(struct pipe_context *pipe, void *hwcso) in nv50_rasterizer_state_bind() argument 350 nv50->rast = hwcso; in nv50_rasterizer_state_bind() 355 nv50_rasterizer_state_delete(struct pipe_context *pipe, void *hwcso) in nv50_rasterizer_state_delete() argument 357 FREE(hwcso); in nv50_rasterizer_state_delete() 440 nv50_zsa_state_bind(struct pipe_context *pipe, void *hwcso) in nv50_zsa_state_bind() argument 444 nv50->zsa = hwcso; in nv50_zsa_state_bind() 449 nv50_zsa_state_delete(struct pipe_context *pipe, void *hwcso) nv50_zsa_state_delete() argument 591 nv50_sampler_state_delete(struct pipe_context *pipe, void *hwcso) nv50_sampler_state_delete() argument 616 struct nv50_tsc_entry *hwcso = hwcsos ? nv50_tsc_entry(hwcsos[i]) : NULL; nv50_stage_sampler_states_bind() local 775 nv50_sp_state_delete(struct pipe_context *pipe, void *hwcso) nv50_sp_state_delete() argument 796 nv50_vp_state_bind(struct pipe_context *pipe, void *hwcso) nv50_vp_state_bind() argument 812 nv50_fp_state_bind(struct pipe_context *pipe, void *hwcso) nv50_fp_state_bind() argument 828 nv50_gp_state_bind(struct pipe_context *pipe, void *hwcso) nv50_gp_state_bind() argument 869 nv50_cp_state_bind(struct pipe_context *pipe, void *hwcso) nv50_cp_state_bind() argument 1125 nv50_vertex_state_bind(struct pipe_context *pipe, void *hwcso) nv50_vertex_state_bind() argument [all...] |
H A D | nv50_stateobj_tex.h | 14 nv50_tsc_entry(void *hwcso) in nv50_tsc_entry() argument 16 return (struct nv50_tsc_entry *)hwcso; in nv50_tsc_entry()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
H A D | v3dx_state.c | 43 v3d_generic_cso_state_delete(struct pipe_context *pctx, void *hwcso) in v3d_generic_cso_state_delete() argument 45 free(hwcso); in v3d_generic_cso_state_delete() 317 v3d_blend_state_bind(struct pipe_context *pctx, void *hwcso) in v3d_blend_state_bind() argument 320 v3d->blend = hwcso; in v3d_blend_state_bind() 325 v3d_rasterizer_state_bind(struct pipe_context *pctx, void *hwcso) in v3d_rasterizer_state_bind() argument 328 v3d->rasterizer = hwcso; in v3d_rasterizer_state_bind() 333 v3d_zsa_state_bind(struct pipe_context *pctx, void *hwcso) in v3d_zsa_state_bind() argument 336 v3d->zsa = hwcso; in v3d_zsa_state_bind() 442 v3d_vertex_state_delete(struct pipe_context *pctx, void *hwcso) in v3d_vertex_state_delete() argument 444 struct v3d_vertex_stateobj *so = hwcso; in v3d_vertex_state_delete() 451 v3d_vertex_state_bind(struct pipe_context *pctx, void *hwcso) v3d_vertex_state_bind() argument 803 v3d_sampler_states_bind(struct pipe_context *pctx, enum pipe_shader_type shader, unsigned start, unsigned nr, void **hwcso) v3d_sampler_states_bind() argument 830 v3d_sampler_state_delete(struct pipe_context *pctx, void *hwcso) v3d_sampler_state_delete() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
H A D | fd6_rasterizer.c | 122 fd6_rasterizer_state_delete(struct pipe_context *pctx, void *hwcso) in fd6_rasterizer_state_delete() argument 124 struct fd6_rasterizer_stateobj *so = hwcso; in fd6_rasterizer_state_delete() 130 FREE(hwcso); in fd6_rasterizer_state_delete()
|
H A D | fd6_zsa.c | 231 fd6_zsa_state_delete(struct pipe_context *pctx, void *hwcso) in fd6_zsa_state_delete() argument 233 struct fd6_zsa_stateobj *so = hwcso; in fd6_zsa_state_delete() 237 FREE(hwcso); in fd6_zsa_state_delete()
|
H A D | fd6_context.c | 109 fd6_vertex_state_delete(struct pipe_context *pctx, void *hwcso) in fd6_vertex_state_delete() argument 111 struct fd6_vertex_stateobj *so = hwcso; in fd6_vertex_state_delete() 114 FREE(hwcso); in fd6_vertex_state_delete()
|
H A D | fd6_blend.c | 197 fd6_blend_state_delete(struct pipe_context *pctx, void *hwcso) in fd6_blend_state_delete() argument 199 struct fd6_blend_stateobj *so = hwcso; in fd6_blend_state_delete()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
H A D | fd2_texture.c | 125 unsigned start, unsigned nr, void **hwcso) in_dt 127 if (!hwcso) 141 fd_sampler_states_bind(pctx, shader, start, nr, hwcso);
|
H A D | fd2_program.c | 125 fd2_fp_state_delete(struct pipe_context *pctx, void *hwcso) in fd2_fp_state_delete() argument 127 struct fd2_shader_stateobj *so = hwcso; in fd2_fp_state_delete() 162 fd2_vp_state_delete(struct pipe_context *pctx, void *hwcso) in fd2_vp_state_delete() argument 164 struct fd2_shader_stateobj *so = hwcso; in fd2_vp_state_delete()
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
H A D | pan_context.c | 138 panfrost_generic_cso_delete(struct pipe_context *pctx, void *hwcso) in panfrost_generic_cso_delete() argument 140 free(hwcso); in panfrost_generic_cso_delete() 230 void *hwcso) in panfrost_bind_rasterizer_state() 233 ctx->rasterizer = hwcso; in panfrost_bind_rasterizer_state() 294 void *hwcso) in panfrost_bind_vertex_elements_state() 297 ctx->vertex = hwcso; in panfrost_bind_vertex_elements_state() 521 void *hwcso, in panfrost_bind_shader_state() 525 ctx->shader[type] = hwcso; in panfrost_bind_shader_state() 530 if (hwcso) in panfrost_bind_shader_state() 581 panfrost_bind_vs_state(struct pipe_context *pctx, void *hwcso) in panfrost_bind_vs_state() argument 228 panfrost_bind_rasterizer_state( struct pipe_context *pctx, void *hwcso) panfrost_bind_rasterizer_state() argument 292 panfrost_bind_vertex_elements_state( struct pipe_context *pctx, void *hwcso) panfrost_bind_vertex_elements_state() argument 519 panfrost_bind_shader_state( struct pipe_context *pctx, void *hwcso, enum pipe_shader_type type) panfrost_bind_shader_state() argument 591 panfrost_bind_fs_state(struct pipe_context *pctx, void *hwcso) panfrost_bind_fs_state() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_shader.c | 538 etna_bind_fs_state(struct pipe_context *pctx, void *hwcso) in etna_bind_fs_state() argument 542 ctx->shader.bind_fs = hwcso; in etna_bind_fs_state() 547 etna_bind_vs_state(struct pipe_context *pctx, void *hwcso) in etna_bind_vs_state() argument 551 ctx->shader.bind_vs = hwcso; in etna_bind_vs_state() 566 void *hwcso, in etna_is_parallel_shader_compilation_finished() 569 struct etna_shader *shader = (struct etna_shader *)hwcso; in etna_is_parallel_shader_compilation_finished() 565 etna_is_parallel_shader_compilation_finished(struct pipe_screen *pscreen, void *hwcso, enum pipe_shader_type shader_type) etna_is_parallel_shader_compilation_finished() argument
|