Home
last modified time | relevance | path

Searched refs:hwcso (Results 1 – 25 of 46) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/lima/
Dlima_state.c79 lima_bind_depth_stencil_alpha_state(struct pipe_context *pctx, void *hwcso) in lima_bind_depth_stencil_alpha_state() argument
83 ctx->zsa = hwcso; in lima_bind_depth_stencil_alpha_state()
88 lima_delete_depth_stencil_alpha_state(struct pipe_context *pctx, void *hwcso) in lima_delete_depth_stencil_alpha_state() argument
90 FREE(hwcso); in lima_delete_depth_stencil_alpha_state()
109 lima_bind_rasterizer_state(struct pipe_context *pctx, void *hwcso) in lima_bind_rasterizer_state() argument
113 ctx->rasterizer = hwcso; in lima_bind_rasterizer_state()
118 lima_delete_rasterizer_state(struct pipe_context *pctx, void *hwcso) in lima_delete_rasterizer_state() argument
120 FREE(hwcso); in lima_delete_rasterizer_state()
139 lima_bind_blend_state(struct pipe_context *pctx, void *hwcso) in lima_bind_blend_state() argument
143 ctx->blend = hwcso; in lima_bind_blend_state()
[all …]
Dlima_program.c336 lima_bind_fs_state(struct pipe_context *pctx, void *hwcso) in lima_bind_fs_state() argument
340 ctx->fs = hwcso; in lima_bind_fs_state()
345 lima_delete_fs_state(struct pipe_context *pctx, void *hwcso) in lima_delete_fs_state() argument
347 struct lima_fs_shader_state *so = hwcso; in lima_delete_fs_state()
482 lima_bind_vs_state(struct pipe_context *pctx, void *hwcso) in lima_bind_vs_state() argument
486 ctx->vs = hwcso; in lima_bind_vs_state()
491 lima_delete_vs_state(struct pipe_context *pctx, void *hwcso) in lima_delete_vs_state() argument
493 struct lima_vs_shader_state *so = hwcso; in lima_delete_vs_state()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_program.c34 fd_vs_state_bind(struct pipe_context *pctx, void *hwcso) in fd_vs_state_bind() argument
37 ctx->prog.vs = hwcso; in fd_vs_state_bind()
43 fd_tcs_state_bind(struct pipe_context *pctx, void *hwcso) in fd_tcs_state_bind() argument
46 ctx->prog.hs = hwcso; in fd_tcs_state_bind()
52 fd_tes_state_bind(struct pipe_context *pctx, void *hwcso) in fd_tes_state_bind() argument
55 ctx->prog.ds = hwcso; in fd_tes_state_bind()
61 fd_gs_state_bind(struct pipe_context *pctx, void *hwcso) in fd_gs_state_bind() argument
64 ctx->prog.gs = hwcso; in fd_gs_state_bind()
70 fd_fs_state_bind(struct pipe_context *pctx, void *hwcso) in fd_fs_state_bind() argument
73 ctx->prog.fs = hwcso; in fd_fs_state_bind()
Dfreedreno_state.c373 fd_blend_state_bind(struct pipe_context *pctx, void *hwcso) in fd_blend_state_bind() argument
376 struct pipe_blend_state *cso = hwcso; in fd_blend_state_bind()
383 ctx->blend = hwcso; in fd_blend_state_bind()
390 fd_blend_state_delete(struct pipe_context *pctx, void *hwcso) in fd_blend_state_delete() argument
392 FREE(hwcso); in fd_blend_state_delete()
396 fd_rasterizer_state_bind(struct pipe_context *pctx, void *hwcso) in fd_rasterizer_state_bind() argument
402 ctx->rasterizer = hwcso; in fd_rasterizer_state_bind()
424 fd_rasterizer_state_delete(struct pipe_context *pctx, void *hwcso) in fd_rasterizer_state_delete() argument
426 FREE(hwcso); in fd_rasterizer_state_delete()
430 fd_zsa_state_bind(struct pipe_context *pctx, void *hwcso) in fd_zsa_state_bind() argument
[all …]
Dfreedreno_texture.c38 fd_sampler_state_delete(struct pipe_context *pctx, void *hwcso) in fd_sampler_state_delete() argument
40 FREE(hwcso); in fd_sampler_state_delete()
52 unsigned start, unsigned nr, void **hwcso) in bind_sampler_states() argument
58 tex->samplers[p] = hwcso[i]; in bind_sampler_states()
99 unsigned nr, void **hwcso) in fd_sampler_states_bind() argument
103 bind_sampler_states(&ctx->tex[shader], start, nr, hwcso); in fd_sampler_states_bind()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_state.c209 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 …]
Dnv50_stateobj_tex.h14 nv50_tsc_entry(void *hwcso) in nv50_tsc_entry() argument
16 return (struct nv50_tsc_entry *)hwcso; in nv50_tsc_entry()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_state.c196 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 …]
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_state.c119 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 …]
Dnv30_fragprog.c149 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()
Dnv30_vertprog.c235 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()
Dnv40_verttex.c53 unsigned nr, void **hwcso) in nv40_verttex_sampler_states_bind() argument
59 nv30->vertprog.samplers[i] = hwcso[i]; in nv40_verttex_sampler_states_bind()
Dnv30_context.h183 unsigned nr, void **hwcso);
187 unsigned nr, void **hwcso);
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_state.c45 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()
329 vc4_blend_state_bind(struct pipe_context *pctx, void *hwcso) in vc4_blend_state_bind() argument
332 vc4->blend = hwcso; in vc4_blend_state_bind()
337 vc4_rasterizer_state_bind(struct pipe_context *pctx, void *hwcso) in vc4_rasterizer_state_bind() argument
340 struct vc4_rasterizer_state *rast = hwcso; in vc4_rasterizer_state_bind()
347 vc4->rasterizer = hwcso; in vc4_rasterizer_state_bind()
352 vc4_zsa_state_bind(struct pipe_context *pctx, void *hwcso) in vc4_zsa_state_bind() argument
355 vc4->zsa = hwcso; in vc4_zsa_state_bind()
375 vc4_vertex_state_bind(struct pipe_context *pctx, void *hwcso) in vc4_vertex_state_bind() argument
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_rasterizer.c134 fd6_rasterizer_state_delete(struct pipe_context *pctx, void *hwcso) in fd6_rasterizer_state_delete() argument
136 struct fd6_rasterizer_stateobj *so = hwcso; in fd6_rasterizer_state_delete()
142 FREE(hwcso); in fd6_rasterizer_state_delete()
Dfd6_texture.c150 fd6_sampler_state_delete(struct pipe_context *pctx, void *hwcso) in fd6_sampler_state_delete() argument
153 struct fd6_sampler_stateobj *samp = hwcso; in fd6_sampler_state_delete()
167 free(hwcso); in fd6_sampler_state_delete()
173 unsigned nr, void **hwcso) in fd6_sampler_states_bind() argument
180 if (!hwcso) in fd6_sampler_states_bind()
184 if (hwcso[i]) { in fd6_sampler_states_bind()
186 fd6_sampler_stateobj(hwcso[i]); in fd6_sampler_states_bind()
196 fd_sampler_states_bind(pctx, shader, start, nr, hwcso); in fd6_sampler_states_bind()
Dfd6_context.c120 fd6_vertex_state_delete(struct pipe_context *pctx, void *hwcso) in fd6_vertex_state_delete() argument
122 struct fd6_vertex_stateobj *so = hwcso; in fd6_vertex_state_delete()
125 FREE(hwcso); in fd6_vertex_state_delete()
Dfd6_zsa.c229 fd6_zsa_state_delete(struct pipe_context *pctx, void *hwcso) in fd6_zsa_state_delete() argument
231 struct fd6_zsa_stateobj *so = hwcso; in fd6_zsa_state_delete()
235 FREE(hwcso); in fd6_zsa_state_delete()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_texture.c152 unsigned nr, void **hwcso) in fd3_sampler_states_bind() argument
159 if (!hwcso) in fd3_sampler_states_bind()
163 if (hwcso[i]) { in fd3_sampler_states_bind()
165 fd3_sampler_stateobj(hwcso[i]); in fd3_sampler_states_bind()
175 fd_sampler_states_bind(pctx, shader, start, nr, hwcso); in fd3_sampler_states_bind()
/external/mesa3d/src/gallium/drivers/v3d/
Dv3dx_state.c42 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()
306 v3d_blend_state_bind(struct pipe_context *pctx, void *hwcso) in v3d_blend_state_bind() argument
309 v3d->blend = hwcso; in v3d_blend_state_bind()
314 v3d_rasterizer_state_bind(struct pipe_context *pctx, void *hwcso) in v3d_rasterizer_state_bind() argument
317 v3d->rasterizer = hwcso; in v3d_rasterizer_state_bind()
322 v3d_zsa_state_bind(struct pipe_context *pctx, void *hwcso) in v3d_zsa_state_bind() argument
325 v3d->zsa = hwcso; in v3d_zsa_state_bind()
431 v3d_vertex_state_delete(struct pipe_context *pctx, void *hwcso) in v3d_vertex_state_delete() argument
433 struct v3d_vertex_stateobj *so = hwcso; in v3d_vertex_state_delete()
[all …]
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_context.c541 panfrost_generic_cso_delete(struct pipe_context *pctx, void *hwcso) in panfrost_generic_cso_delete() argument
543 free(hwcso); in panfrost_generic_cso_delete()
564 void *hwcso) in panfrost_bind_rasterizer_state() argument
567 ctx->rasterizer = hwcso; in panfrost_bind_rasterizer_state()
599 void *hwcso) in panfrost_bind_vertex_elements_state() argument
602 ctx->vertex = hwcso; in panfrost_bind_vertex_elements_state()
771 void *hwcso, in panfrost_bind_shader_state() argument
776 ctx->shader[type] = hwcso; in panfrost_bind_shader_state()
778 if (!hwcso) return; in panfrost_bind_shader_state()
783 struct panfrost_shader_variants *variants = (struct panfrost_shader_variants *) hwcso; in panfrost_bind_shader_state()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_texture.c146 unsigned nr, void **hwcso) in fd4_sampler_states_bind() argument
153 if (!hwcso) in fd4_sampler_states_bind()
157 if (hwcso[i]) { in fd4_sampler_states_bind()
159 fd4_sampler_stateobj(hwcso[i]); in fd4_sampler_states_bind()
169 fd_sampler_states_bind(pctx, shader, start, nr, hwcso); in fd4_sampler_states_bind()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_texture.c154 unsigned nr, void **hwcso) in fd5_sampler_states_bind() argument
161 if (!hwcso) in fd5_sampler_states_bind()
165 if (hwcso[i]) { in fd5_sampler_states_bind()
167 fd5_sampler_stateobj(hwcso[i]); in fd5_sampler_states_bind()
177 fd_sampler_states_bind(pctx, shader, start, nr, hwcso); in fd5_sampler_states_bind()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_texture.c128 unsigned nr, void **hwcso) in fd2_sampler_states_bind() argument
130 if (!hwcso) in fd2_sampler_states_bind()
144 fd_sampler_states_bind(pctx, shader, start, nr, hwcso); in fd2_sampler_states_bind()
Dfd2_program.c124 fd2_fp_state_delete(struct pipe_context *pctx, void *hwcso) in fd2_fp_state_delete() argument
126 struct fd2_shader_stateobj *so = hwcso; in fd2_fp_state_delete()
161 fd2_vp_state_delete(struct pipe_context *pctx, void *hwcso) in fd2_vp_state_delete() argument
163 struct fd2_shader_stateobj *so = hwcso; in fd2_vp_state_delete()

12