Searched refs:cso (Results 1 - 25 of 280) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_rasterizer.c37 const struct pipe_rasterizer_state *cso)
46 so->base = *cso;
48 if (cso->point_size_per_vertex) {
49 psize_min = util_get_min_point_size(cso);
53 psize_min = cso->point_size;
54 psize_max = cso->point_size;
58 if (cso->line_stipple_enable) {
61 TODO cso->half_pixel_center
62 if (cso->multisample)
68 so->gras_su_point_size = A4XX_GRAS_SU_POINT_SIZE(cso
36 fd4_rasterizer_state_create(struct pipe_context * pctx,const struct pipe_rasterizer_state * cso) argument
[all...]
H A Dfd4_zsa.c37 const struct pipe_depth_stencil_alpha_state *cso)
45 so->base = *cso;
48 A4XX_RB_DEPTH_CONTROL_ZFUNC(cso->depth_func); /* maps 1:1 */
50 if (cso->depth_enabled)
54 if (cso->depth_writemask)
57 if (cso->stencil[0].enabled) {
58 const struct pipe_stencil_state *s = &cso->stencil[0];
73 if (cso->stencil[1].enabled) {
74 const struct pipe_stencil_state *bs = &cso->stencil[1];
89 if (cso
36 fd4_zsa_state_create(struct pipe_context * pctx,const struct pipe_depth_stencil_alpha_state * cso) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_rasterizer.c38 const struct pipe_rasterizer_state *cso)
47 so->base = *cso;
49 if (cso->point_size_per_vertex) {
50 psize_min = util_get_min_point_size(cso);
54 psize_min = cso->point_size;
55 psize_max = cso->point_size;
59 if (cso->line_stipple_enable) {
62 TODO cso->half_pixel_center
63 if (cso->multisample)
67 COND(cso
37 fd3_rasterizer_state_create(struct pipe_context * pctx,const struct pipe_rasterizer_state * cso) argument
[all...]
H A Dfd3_zsa.c38 const struct pipe_depth_stencil_alpha_state *cso)
46 so->base = *cso;
49 A3XX_RB_DEPTH_CONTROL_ZFUNC(cso->depth.func); /* maps 1:1 */
51 if (cso->depth.enabled)
56 if (cso->depth.writemask)
59 if (cso->stencil[0].enabled) {
60 const struct pipe_stencil_state *s = &cso->stencil[0];
74 if (cso->stencil[1].enabled) {
75 const struct pipe_stencil_state *bs = &cso->stencil[1];
90 if (cso
37 fd3_zsa_state_create(struct pipe_context * pctx,const struct pipe_depth_stencil_alpha_state * cso) argument
[all...]
H A Dfd3_texture.c85 const struct pipe_sampler_state *cso)
88 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8));
95 if (cso->min_mip_filter == PIPE_TEX_MIPFILTER_LINEAR)
98 so->base = *cso;
108 clamp_to_edge = (cso->min_img_filter == PIPE_TEX_FILTER_NEAREST);
110 so->saturate_s = (cso->wrap_s == PIPE_TEX_WRAP_CLAMP);
111 so->saturate_t = (cso->wrap_t == PIPE_TEX_WRAP_CLAMP);
112 so->saturate_r = (cso->wrap_r == PIPE_TEX_WRAP_CLAMP);
117 COND(!cso->normalized_coords, A3XX_TEX_SAMP_0_UNNORM_COORDS) |
118 COND(!cso
84 fd3_sampler_state_create(struct pipe_context * pctx,const struct pipe_sampler_state * cso) argument
212 fd3_sampler_view_create(struct pipe_context * pctx,struct pipe_resource * prsc,const struct pipe_sampler_view * cso) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_rasterizer.c38 const struct pipe_rasterizer_state *cso)
47 so->base = *cso;
49 if (cso->point_size_per_vertex) {
50 psize_min = util_get_min_point_size(cso);
54 psize_min = cso->point_size;
55 psize_max = cso->point_size;
59 if (cso->line_stipple_enable) {
62 TODO cso->half_pixel_center
63 if (cso->multisample)
70 so->gras_su_point_size = A4XX_GRAS_SU_POINT_SIZE(cso
37 fd4_rasterizer_state_create(struct pipe_context * pctx,const struct pipe_rasterizer_state * cso) argument
[all...]
H A Dfd4_zsa.c38 const struct pipe_depth_stencil_alpha_state *cso)
46 so->base = *cso;
49 A4XX_RB_DEPTH_CONTROL_ZFUNC(cso->depth.func); /* maps 1:1 */
51 if (cso->depth.enabled)
56 if (cso->depth.writemask)
59 if (cso->stencil[0].enabled) {
60 const struct pipe_stencil_state *s = &cso->stencil[0];
76 if (cso->stencil[1].enabled) {
77 const struct pipe_stencil_state *bs = &cso->stencil[1];
92 if (cso
37 fd4_zsa_state_create(struct pipe_context * pctx,const struct pipe_depth_stencil_alpha_state * cso) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_rasterizer.c38 const struct pipe_rasterizer_state *cso)
47 so->base = *cso;
49 if (cso->point_size_per_vertex) {
50 psize_min = util_get_min_point_size(cso);
54 psize_min = cso->point_size;
55 psize_max = cso->point_size;
61 so->gras_su_point_size = A5XX_GRAS_SU_POINT_SIZE(cso->point_size);
63 A5XX_GRAS_SU_POLY_OFFSET_SCALE(cso->offset_scale);
65 A5XX_GRAS_SU_POLY_OFFSET_OFFSET(cso->offset_units);
67 A5XX_GRAS_SU_POLY_OFFSET_OFFSET_CLAMP(cso
37 fd5_rasterizer_state_create(struct pipe_context * pctx,const struct pipe_rasterizer_state * cso) argument
[all...]
H A Dfd5_zsa.c38 const struct pipe_depth_stencil_alpha_state *cso)
46 so->base = *cso;
48 switch (cso->depth.func) {
65 if (!(cso->stencil->enabled || cso->alpha.enabled || !cso->depth.writemask))
69 A5XX_RB_DEPTH_CNTL_ZFUNC(cso->depth.func); /* maps 1:1 */
71 if (cso->depth.enabled)
76 if (cso->depth.writemask)
79 if (cso
37 fd5_zsa_state_create(struct pipe_context * pctx,const struct pipe_depth_stencil_alpha_state * cso) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_rasterizer.c37 const struct pipe_rasterizer_state *cso)
46 so->base = *cso;
48 if (cso->point_size_per_vertex) {
49 psize_min = util_get_min_point_size(cso);
53 psize_min = cso->point_size;
54 psize_max = cso->point_size;
58 if (cso->line_stipple_enable) {
61 TODO cso->half_pixel_center
62 if (cso->multisample)
66 COND(cso
36 fd3_rasterizer_state_create(struct pipe_context * pctx,const struct pipe_rasterizer_state * cso) argument
[all...]
H A Dfd3_zsa.c37 const struct pipe_depth_stencil_alpha_state *cso)
45 so->base = *cso;
48 A3XX_RB_DEPTH_CONTROL_ZFUNC(cso->depth_func); /* maps 1:1 */
50 if (cso->depth_enabled)
54 if (cso->depth_writemask)
57 if (cso->stencil[0].enabled) {
58 const struct pipe_stencil_state *s = &cso->stencil[0];
72 if (cso->stencil[1].enabled) {
73 const struct pipe_stencil_state *bs = &cso->stencil[1];
88 if (cso
36 fd3_zsa_state_create(struct pipe_context * pctx,const struct pipe_depth_stencil_alpha_state * cso) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_rasterizer.c37 const struct pipe_rasterizer_state *cso)
46 so->base = *cso;
48 if (cso->point_size_per_vertex) {
49 psize_min = util_get_min_point_size(cso);
53 psize_min = cso->point_size;
54 psize_max = cso->point_size;
59 so->gras_su_point_size = A5XX_GRAS_SU_POINT_SIZE(cso->point_size);
61 A5XX_GRAS_SU_POLY_OFFSET_SCALE(cso->offset_scale);
63 A5XX_GRAS_SU_POLY_OFFSET_OFFSET(cso->offset_units);
65 A5XX_GRAS_SU_POLY_OFFSET_OFFSET_CLAMP(cso
36 fd5_rasterizer_state_create(struct pipe_context * pctx,const struct pipe_rasterizer_state * cso) argument
[all...]
H A Dfd5_zsa.c37 const struct pipe_depth_stencil_alpha_state *cso)
45 so->base = *cso;
47 switch (cso->depth_func) {
65 if (!(cso->stencil->enabled || cso->alpha_enabled || !cso->depth_writemask))
69 A5XX_RB_DEPTH_CNTL_ZFUNC(cso->depth_func); /* maps 1:1 */
71 if (cso->depth_enabled)
75 if (cso->depth_writemask)
78 if (cso
36 fd5_zsa_state_create(struct pipe_context * pctx,const struct pipe_depth_stencil_alpha_state * cso) argument
[all...]
H A Dfd5_blend.c59 const struct pipe_blend_state *cso)
66 if (cso->logicop_enable) {
67 rop = cso->logicop_func; /* maps 1:1 */
68 reads_dest = util_logicop_reads_dest(cso->logicop_func);
75 so->base = *cso;
82 if (cso->independent_blend_enable)
83 rt = &cso->rt[i];
85 rt = &cso->rt[0];
102 COND(cso->logicop_enable, A5XX_RB_MRT_CONTROL_ROP_ENABLE) |
119 // if (cso
58 fd5_blend_state_create(struct pipe_context * pctx,const struct pipe_blend_state * cso) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_rasterizer.c39 const struct pipe_rasterizer_state *cso)
48 if (cso->point_size_per_vertex) {
49 psize_min = util_get_min_point_size(cso);
53 psize_min = cso->point_size;
54 psize_max = cso->point_size;
57 so->base = *cso;
59 so->pa_sc_line_stipple = cso->line_stipple_enable ?
60 A2XX_PA_SC_LINE_STIPPLE_LINE_PATTERN(cso->line_stipple_pattern) |
61 A2XX_PA_SC_LINE_STIPPLE_REPEAT_COUNT(cso->line_stipple_factor) : 0;
66 A2XX_PA_SU_VTX_CNTL_PIX_CENTER(cso
38 fd2_rasterizer_state_create(struct pipe_context * pctx,const struct pipe_rasterizer_state * cso) argument
[all...]
H A Dfd2_zsa.c38 const struct pipe_depth_stencil_alpha_state *cso)
46 so->base = *cso;
49 A2XX_RB_DEPTHCONTROL_ZFUNC(cso->depth.func); /* maps 1:1 */
51 if (cso->depth.enabled)
53 COND(!cso->alpha.enabled, A2XX_RB_DEPTHCONTROL_EARLY_Z_ENABLE);
54 if (cso->depth.writemask)
57 if (cso->stencil[0].enabled) {
58 const struct pipe_stencil_state *s = &cso->stencil[0];
71 if (cso->stencil[1].enabled) {
72 const struct pipe_stencil_state *bs = &cso
37 fd2_zsa_state_create(struct pipe_context * pctx,const struct pipe_depth_stencil_alpha_state * cso) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_rasterizer.c37 const struct pipe_rasterizer_state *cso)
46 if (cso->point_size_per_vertex) {
47 psize_min = util_get_min_point_size(cso);
51 psize_min = cso->point_size;
52 psize_max = cso->point_size;
55 so->base = *cso;
58 cso->line_stipple_enable
59 ? A2XX_PA_SC_LINE_STIPPLE_LINE_PATTERN(cso->line_stipple_pattern) |
60 A2XX_PA_SC_LINE_STIPPLE_REPEAT_COUNT(cso->line_stipple_factor)
66 A2XX_PA_SU_VTX_CNTL_PIX_CENTER(cso
36 fd2_rasterizer_state_create(struct pipe_context * pctx,const struct pipe_rasterizer_state * cso) argument
[all...]
H A Dfd2_zsa.c37 const struct pipe_depth_stencil_alpha_state *cso)
45 so->base = *cso;
48 A2XX_RB_DEPTHCONTROL_ZFUNC(cso->depth_func); /* maps 1:1 */
50 if (cso->depth_enabled)
53 COND(!cso->alpha_enabled, A2XX_RB_DEPTHCONTROL_EARLY_Z_ENABLE);
54 if (cso->depth_writemask)
57 if (cso->stencil[0].enabled) {
58 const struct pipe_stencil_state *s = &cso->stencil[0];
71 if (cso->stencil[1].enabled) {
72 const struct pipe_stencil_state *bs = &cso
36 fd2_zsa_state_create(struct pipe_context * pctx,const struct pipe_depth_stencil_alpha_state * cso) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_rasterizer.c39 const struct pipe_rasterizer_state *cso,
45 if (cso->point_size_per_vertex) {
46 psize_min = util_get_min_point_size(cso);
50 psize_min = cso->point_size;
51 psize_max = cso->point_size;
54 OUT_REG(ring, A6XX_GRAS_CL_CNTL(.znear_clip_disable = !cso->depth_clip_near,
55 .zfar_clip_disable = !cso->depth_clip_far,
56 .unk5 = !cso->depth_clip_near ||
57 !cso->depth_clip_far,
59 .zero_gb_scale_z = cso
38 __fd6_setup_rasterizer_stateobj(struct fd_context * ctx,const struct pipe_rasterizer_state * cso,bool primitive_restart) argument
108 fd6_rasterizer_state_create(struct pipe_context * pctx,const struct pipe_rasterizer_state * cso) argument
[all...]
H A Dfd6_blend.c64 const struct pipe_blend_state *cso = &blend->base; local in function:__fd6_setup_blend_variant
70 if (cso->logicop_enable) {
71 rop = cso->logicop_func; /* maps 1:1 */
72 reads_dest = util_logicop_reads_dest(cso->logicop_func);
83 for (unsigned i = 0; i <= cso->max_rt; i++) {
86 if (cso->independent_blend_enable)
87 rt = &cso->rt[i];
89 rt = &cso->rt[0];
101 .rop_enable = cso->logicop_enable,
118 .dither_mode_mrt0 = cso
150 fd6_blend_state_create(struct pipe_context * pctx,const struct pipe_blend_state * cso) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_rasterizer.c39 const struct pipe_rasterizer_state *cso)
49 so->base = *cso;
51 if (cso->point_size_per_vertex) {
52 psize_min = util_get_min_point_size(cso);
56 psize_min = cso->point_size;
57 psize_max = cso->point_size;
63 so->gras_su_point_size = A6XX_GRAS_SU_POINT_SIZE(cso->point_size);
65 A6XX_GRAS_SU_POLY_OFFSET_SCALE(cso->offset_scale);
67 A6XX_GRAS_SU_POLY_OFFSET_OFFSET(cso->offset_units);
69 A6XX_GRAS_SU_POLY_OFFSET_OFFSET_CLAMP(cso
38 fd6_rasterizer_state_create(struct pipe_context * pctx,const struct pipe_rasterizer_state * cso) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/cso_cache/
H A Dcso_context.h46 void cso_destroy_context( struct cso_context *cso );
47 struct pipe_context *cso_get_pipe_context(struct cso_context *cso);
50 enum pipe_error cso_set_blend( struct cso_context *cso,
54 enum pipe_error cso_set_depth_stencil_alpha( struct cso_context *cso,
59 enum pipe_error cso_set_rasterizer( struct cso_context *cso,
64 cso_set_samplers(struct cso_context *cso,
74 cso_single_sampler(struct cso_context *cso, enum pipe_shader_type shader_stage,
78 cso_single_sampler_done(struct cso_context *cso,
127 void cso_set_framebuffer(struct cso_context *cso,
131 void cso_set_viewport(struct cso_context *cso,
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/hud/
H A Dhud_context.h38 hud_create(struct cso_context *cso, struct hud_context *share);
41 hud_destroy(struct hud_context *hud, struct cso_context *cso);
44 hud_run(struct hud_context *hud, struct cso_context *cso,
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/hud/
H A Dhud_context.h39 hud_create(struct cso_context *cso, struct st_context_iface *st,
43 hud_destroy(struct hud_context *hud, struct cso_context *cso);
46 hud_run(struct hud_context *hud, struct cso_context *cso,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/
H A Dpan_blend_shaders.h34 panfrost_make_blend_shader(struct panfrost_context *ctx, struct panfrost_blend_state *cso, const struct pipe_blend_color *blend_color);

Completed in 8 milliseconds

1234567891011>>