/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/ |
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() 300 struct ir3_shader_state *hwcso = calloc(1, sizeof(*hwcso)); in ir3_shader_compute_state_create() local 302 util_queue_fence_init(&hwcso->ready); in ir3_shader_compute_state_create() 303 hwcso->shader = shader; in ir3_shader_compute_state_create() 316 util_queue_add_job(&screen->compile_queue, hwcso, &hwcso->ready, in ir3_shader_compute_state_create() [all …]
|
D | ir3_gallium.h | 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/ |
D | freedreno_program.c | 55 fd_vs_state_bind(struct pipe_context *pctx, void *hwcso) in_dt in fd_vs_state_bind() argument 58 ctx->prog.vs = hwcso; in fd_vs_state_bind() 60 update_bound_stage(ctx, PIPE_SHADER_VERTEX, !!hwcso); in fd_vs_state_bind() 64 fd_tcs_state_bind(struct pipe_context *pctx, void *hwcso) in_dt in fd_tcs_state_bind() argument 67 ctx->prog.hs = hwcso; in fd_tcs_state_bind() 69 update_bound_stage(ctx, PIPE_SHADER_TESS_CTRL, !!hwcso); in fd_tcs_state_bind() 73 fd_tes_state_bind(struct pipe_context *pctx, void *hwcso) in_dt in fd_tes_state_bind() argument 76 ctx->prog.ds = hwcso; in fd_tes_state_bind() 78 update_bound_stage(ctx, PIPE_SHADER_TESS_EVAL, !!hwcso); in fd_tes_state_bind() 82 fd_gs_state_bind(struct pipe_context *pctx, void *hwcso) in_dt in fd_gs_state_bind() argument [all …]
|
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() argument 59 tex->samplers[p] = hwcso ? hwcso[i] : NULL; in bind_sampler_states() 105 unsigned start, unsigned nr, void **hwcso) in_dt in fd_sampler_states_bind() argument 109 bind_sampler_states(&ctx->tex[shader], start, nr, hwcso); in fd_sampler_states_bind()
|
D | freedreno_state.c | 410 fd_blend_state_bind(struct pipe_context *pctx, void *hwcso) in_dt in fd_blend_state_bind() argument 413 struct pipe_blend_state *cso = hwcso; in fd_blend_state_bind() 419 ctx->blend = hwcso; in fd_blend_state_bind() 427 fd_blend_state_delete(struct pipe_context *pctx, void *hwcso) in_dt in fd_blend_state_delete() argument 429 FREE(hwcso); in fd_blend_state_delete() 433 fd_rasterizer_state_bind(struct pipe_context *pctx, void *hwcso) in_dt in fd_rasterizer_state_bind() argument 439 ctx->rasterizer = hwcso; in fd_rasterizer_state_bind() 461 fd_rasterizer_state_delete(struct pipe_context *pctx, void *hwcso) in_dt in fd_rasterizer_state_delete() argument 463 FREE(hwcso); in fd_rasterizer_state_delete() 467 fd_zsa_state_bind(struct pipe_context *pctx, void *hwcso) in_dt in fd_zsa_state_bind() argument [all …]
|
D | freedreno_texture.h | 34 unsigned nr, void **hwcso);
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
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() [all …]
|
D | lima_program.c | 430 lima_bind_fs_state(struct pipe_context *pctx, void *hwcso) in lima_bind_fs_state() argument 434 ctx->uncomp_fs = hwcso; in lima_bind_fs_state() 439 lima_delete_fs_state(struct pipe_context *pctx, void *hwcso) in lima_delete_fs_state() argument 442 struct lima_fs_uncompiled_shader *so = hwcso; in lima_delete_fs_state() 669 lima_bind_vs_state(struct pipe_context *pctx, void *hwcso) in lima_bind_vs_state() argument 673 ctx->uncomp_vs = hwcso; in lima_bind_vs_state() 678 lima_delete_vs_state(struct pipe_context *pctx, void *hwcso) in lima_delete_vs_state() argument 681 struct lima_vs_uncompiled_shader *so = hwcso; in lima_delete_vs_state()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
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() [all …]
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
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() [all …]
|
D | nv30_fragprog.c | 149 nv30_fp_state_delete(struct pipe_context *pipe, void *hwcso) in nv30_fp_state_delete() argument 151 struct nv30_fragprog *fp = hwcso; in nv30_fp_state_delete() 165 nv30_fp_state_bind(struct pipe_context *pipe, void *hwcso) in nv30_fp_state_bind() argument 168 struct nv30_fragprog *fp = hwcso; in nv30_fp_state_bind()
|
D | nv30_vertprog.c | 235 nv30_vp_state_delete(struct pipe_context *pipe, void *hwcso) in nv30_vp_state_delete() argument 237 struct nv30_vertprog *vp = hwcso; in nv30_vp_state_delete() 250 nv30_vp_state_bind(struct pipe_context *pipe, void *hwcso) in nv30_vp_state_bind() argument 254 nv30->vertprog.program = hwcso; in nv30_vp_state_bind()
|
D | nv40_verttex.c | 53 unsigned nr, void **hwcso) in nv40_verttex_sampler_states_bind() argument 59 nv30->vertprog.samplers[i] = hwcso[i]; in nv40_verttex_sampler_states_bind()
|
D | nv30_context.h | 183 unsigned nr, void **hwcso); 187 unsigned nr, void **hwcso);
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
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() [all …]
|
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/vc4/ |
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 [all …]
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_context.c | 130 panfrost_generic_cso_delete(struct pipe_context *pctx, void *hwcso) in panfrost_generic_cso_delete() argument 132 free(hwcso); in panfrost_generic_cso_delete() 222 void *hwcso) in panfrost_bind_rasterizer_state() argument 225 ctx->rasterizer = hwcso; in panfrost_bind_rasterizer_state() 287 void *hwcso) in panfrost_bind_vertex_elements_state() argument 290 ctx->vertex = hwcso; in panfrost_bind_vertex_elements_state() 445 void *hwcso, in panfrost_bind_shader_state() argument 449 ctx->shader[type] = hwcso; in panfrost_bind_shader_state() 454 if (!hwcso) return; in panfrost_bind_shader_state() 459 struct panfrost_shader_variants *variants = (struct panfrost_shader_variants *) hwcso; in panfrost_bind_shader_state() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_rasterizer.c | 123 fd6_rasterizer_state_delete(struct pipe_context *pctx, void *hwcso) in fd6_rasterizer_state_delete() argument 125 struct fd6_rasterizer_stateobj *so = hwcso; in fd6_rasterizer_state_delete() 131 FREE(hwcso); in fd6_rasterizer_state_delete()
|
D | fd6_zsa.c | 232 fd6_zsa_state_delete(struct pipe_context *pctx, void *hwcso) in fd6_zsa_state_delete() argument 234 struct fd6_zsa_stateobj *so = hwcso; in fd6_zsa_state_delete() 238 FREE(hwcso); in fd6_zsa_state_delete()
|
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()
|
D | fd6_blend.c | 198 fd6_blend_state_delete(struct pipe_context *pctx, void *hwcso) in fd6_blend_state_delete() argument 200 struct fd6_blend_stateobj *so = hwcso; in fd6_blend_state_delete()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3dx_state.c | 42 v3d_generic_cso_state_delete(struct pipe_context *pctx, void *hwcso) in v3d_generic_cso_state_delete() argument 44 free(hwcso); in v3d_generic_cso_state_delete() 310 v3d_blend_state_bind(struct pipe_context *pctx, void *hwcso) in v3d_blend_state_bind() argument 313 v3d->blend = hwcso; in v3d_blend_state_bind() 318 v3d_rasterizer_state_bind(struct pipe_context *pctx, void *hwcso) in v3d_rasterizer_state_bind() argument 321 v3d->rasterizer = hwcso; in v3d_rasterizer_state_bind() 326 v3d_zsa_state_bind(struct pipe_context *pctx, void *hwcso) in v3d_zsa_state_bind() argument 329 v3d->zsa = hwcso; in v3d_zsa_state_bind() 435 v3d_vertex_state_delete(struct pipe_context *pctx, void *hwcso) in v3d_vertex_state_delete() argument 437 struct v3d_vertex_stateobj *so = hwcso; in v3d_vertex_state_delete() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_texture.c | 125 unsigned start, unsigned nr, void **hwcso) in_dt in fd2_sampler_states_bind() argument 127 if (!hwcso) in fd2_sampler_states_bind() 141 fd_sampler_states_bind(pctx, shader, start, nr, hwcso); in fd2_sampler_states_bind()
|
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()
|