HomeSort by: relevance | last modified time | path
    Searched defs:cso (Results 1 - 25 of 82) sorted by relevancy

1 2 3 4

  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a6xx/
fd6_blend.c 64 const struct pipe_blend_state *cso = &blend->base; local
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->dither ? DITHER_ALWAYS : DITHER_DISABLE
    [all...]
fd6_texture.c 91 const struct pipe_sampler_state *cso)
94 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8));
100 so->base = *cso;
103 if (cso->min_mip_filter == PIPE_TEX_MIPFILTER_LINEAR)
109 A6XX_TEX_SAMP_0_XY_MAG(tex_filter(cso->mag_img_filter, aniso)) |
110 A6XX_TEX_SAMP_0_XY_MIN(tex_filter(cso->min_img_filter, aniso)) |
112 A6XX_TEX_SAMP_0_WRAP_S(tex_clamp(cso->wrap_s, &so->needs_border)) |
113 A6XX_TEX_SAMP_0_WRAP_T(tex_clamp(cso->wrap_t, &so->needs_border)) |
114 A6XX_TEX_SAMP_0_WRAP_R(tex_clamp(cso->wrap_r, &so->needs_border));
117 COND(cso->min_mip_filter == PIPE_TEX_MIPFILTER_NONE
211 const struct pipe_sampler_view *cso = &so->base; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/
pixelshader9.c 36 const DWORD *pFunction, void *cso )
43 DBG("This=%p pParams=%p pFunction=%p cso=%p\n", This, pParams, pFunction, cso);
49 if (cso) {
50 This->ff_cso = cso;
82 This->variant.cso = info.cso;
85 This->last_cso = info.cso;
119 if (var->cso) {
120 if (This->base.device->context.cso_shader.ps == var->cso)
171 void *cso; local
    [all...]
vertexshader9.c 38 const DWORD *pFunction, void *cso )
46 DBG("This=%p pParams=%p pFunction=%p cso=%p\n",
47 This, pParams, pFunction, cso);
53 if (cso) {
54 This->ff_cso = cso;
97 This->variant.cso = info.cso;
100 This->last_cso = info.cso;
136 if (var->cso) {
137 if (This->base.device->context.cso_shader.vs == var->cso)
197 void *cso; local
254 void *cso; local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/
freedreno_program.c 80 struct pipe_shader_state cso = { local
88 return pctx->create_fs_state(pctx, &cso);
90 return pctx->create_vs_state(pctx, &cso);
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/
pan_assemble.c 44 struct pipe_shader_state *cso = state->base; local
46 if (cso->type == PIPE_SHADER_IR_NIR) {
47 s = nir_shader_clone(NULL, cso->ir.nir);
49 assert (cso->type == PIPE_SHADER_IR_TGSI);
50 //tgsi_dump(cso->tokens, 0);
51 s = tgsi_to_nir(cso->tokens, ctx->base.screen);
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/
pixelshader9.c 36 const DWORD *pFunction, void *cso )
43 DBG("This=%p pParams=%p pFunction=%p cso=%p\n", This, pParams, pFunction, cso);
49 if (cso) {
50 This->ff_cso = cso;
81 This->variant.cso = info.cso;
84 This->last_cso = info.cso;
118 if (var->cso) {
119 if (This->base.device->context.cso_shader.ps == var->cso)
170 void *cso; local
    [all...]
vertexshader9.c 38 const DWORD *pFunction, void *cso )
46 DBG("This=%p pParams=%p pFunction=%p cso=%p\n",
47 This, pParams, pFunction, cso);
53 if (cso) {
54 This->ff_cso = cso;
96 This->variant.cso = info.cso;
99 This->last_cso = info.cso;
135 if (var->cso) {
136 if (This->base.device->context.cso_shader.vs == var->cso)
196 void *cso; local
252 void *cso; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/
freedreno_program.c 116 struct pipe_shader_state cso = { local
124 return pctx->create_fs_state(pctx, &cso);
126 return pctx->create_vs_state(pctx, &cso);
freedreno_state.c 43 /* All the generic state handling.. In case of CSO's that are specific
257 struct pipe_framebuffer_state *cso; local
262 cso = &ctx->framebuffer;
264 if (util_framebuffer_state_equal(cso, framebuffer))
276 util_copy_framebuffer_state(cso, framebuffer);
278 cso->samples = util_framebuffer_get_num_samples(cso);
303 ctx->disabled_scissor.maxx = cso->width;
304 ctx->disabled_scissor.maxy = cso->height;
415 struct pipe_blend_state *cso = hwcso variable in typeref:struct:pipe_blend_state
549 struct fd_stream_output_target *cso = fd_stream_output_target(target); local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/cso_cache/
cso_cache.c 99 void *cso = cso_hash_take(hash, cso_hash_iter_key(iter)); local
100 cache->delete_cso(cache->delete_cso_ctx, cso, type);
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/postprocess/
pp_run.c 90 struct cso_context *cso = ppq->p->cso; local
119 cso_save_state(cso, (CSO_BIT_BLEND |
139 cso_set_sample_mask(cso, ~0);
140 cso_set_min_samples(cso, 1);
141 cso_set_stream_outputs(cso, 0, NULL, NULL);
142 cso_set_tessctrl_shader_handle(cso, NULL);
143 cso_set_tesseval_shader_handle(cso, NULL);
144 cso_set_geometry_shader_handle(cso, NULL);
145 cso_set_render_condition(cso, NULL, FALSE, 0)
    [all...]
pp_private.h 43 struct cso_context *cso; member in struct:pp_program
  /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
st_draw.c 205 struct cso_context *cso = st->cso_context; local
211 cso_multi_draw(cso, info, 0, &draws[first], i - first);
st_atom_array.c 313 struct cso_context *cso = st->cso_context; local
317 cso_set_vertex_buffers_and_elements(cso, &velements,
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/postprocess/
pp_run.c 89 struct cso_context *cso = ppq->p->cso; local
118 cso_save_state(cso, (CSO_BIT_BLEND |
138 cso_save_constant_buffer_slot0(cso, PIPE_SHADER_VERTEX);
139 cso_save_constant_buffer_slot0(cso, PIPE_SHADER_FRAGMENT);
142 cso_set_sample_mask(cso, ~0);
143 cso_set_min_samples(cso, 1);
144 cso_set_stream_outputs(cso, 0, NULL, NULL);
145 cso_set_tessctrl_shader_handle(cso, NULL);
146 cso_set_tesseval_shader_handle(cso, NULL)
    [all...]
pp_private.h 42 struct cso_context *cso; member in struct:pp_program
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
u_hash_table.c 52 struct cso_hash *cso; member in struct:util_hash_table
88 ht->cso = cso_hash_create();
89 if(!ht->cso) {
109 iter = cso_hash_find(ht->cso, key_hash);
129 iter = cso_hash_find(ht->cso, key_hash);
170 iter = cso_hash_insert(ht->cso, key_hash, item);
223 cso_hash_erase(ht->cso, iter);
237 iter = cso_hash_first_node(ht->cso);
239 item = (struct util_hash_table_item *)cso_hash_take(ht->cso, cso_hash_iter_key(iter));
241 iter = cso_hash_first_node(ht->cso);
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
svga_pipe_sampler.c 234 struct svga_sampler_state *cso = CALLOC_STRUCT( svga_sampler_state ); local
236 if (!cso)
239 cso->mipfilter = translate_mip_filter(sampler->min_mip_filter);
240 cso->magfilter = translate_img_filter( sampler->mag_img_filter );
241 cso->minfilter = translate_img_filter( sampler->min_img_filter );
242 cso->aniso_level = MAX2( sampler->max_anisotropy, 1 );
244 cso->magfilter = cso->minfilter = SVGA3D_TEX_FILTER_ANISOTROPIC;
245 cso->lod_bias = sampler->lod_bias;
246 cso->addressu = translate_wrap_mode(sampler->wrap_s)
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/cso_cache/
cso_cache.c 92 struct cso_blend *cso = (struct cso_blend *)state; local
93 if (cso->delete_state)
94 cso->delete_state(cso->context, cso->data);
100 struct cso_depth_stencil_alpha *cso = (struct cso_depth_stencil_alpha *)state; local
101 if (cso->delete_state)
102 cso->delete_state(cso->context, cso->data)
108 struct cso_sampler *cso = (struct cso_sampler *)state; local
116 struct cso_rasterizer *cso = (struct cso_rasterizer *)state; local
124 struct cso_velements *cso = (struct cso_velements *)state; local
179 void *cso = cso_hash_take(hash, cso_hash_iter_key(iter)); local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
svga_pipe_sampler.c 241 struct svga_sampler_state *cso = CALLOC_STRUCT( svga_sampler_state ); local
243 if (!cso)
246 cso->mipfilter = translate_mip_filter(sampler->min_mip_filter);
247 cso->magfilter = translate_img_filter( sampler->mag_img_filter );
248 cso->minfilter = translate_img_filter( sampler->min_img_filter );
249 cso->aniso_level = MAX2( sampler->max_anisotropy, 1 );
251 cso->magfilter = cso->minfilter = SVGA3D_TEX_FILTER_ANISOTROPIC;
252 cso->lod_bias = sampler->lod_bias;
253 cso->addressu = translate_wrap_mode(sampler->wrap_s)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/
vc4_state.c 95 const struct pipe_rasterizer_state *cso)
106 so->base = *cso;
108 if (!(cso->cull_face & PIPE_FACE_FRONT))
110 if (!(cso->cull_face & PIPE_FACE_BACK))
116 point_size.point_size = MAX2(cso->point_size, .125f);
118 line_width.line_width = cso->line_width;
120 if (cso->front_ccw)
123 if (cso->offset_tri) {
127 float_to_187_half(cso->offset_units);
129 float_to_187_half(cso->offset_scale)
419 struct pipe_framebuffer_state *cso = &vc4->framebuffer; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/
zink_state.c 172 void *cso)
176 ctx->element_state = cso;
177 if (cso) {
346 struct zink_blend_state *cso = CALLOC_STRUCT(zink_blend_state); local
347 if (!cso)
349 cso->hash = _mesa_hash_pointer(cso);
352 cso->logicop_enable = VK_TRUE;
353 cso->logicop_func = logic_op(blend_state->logicop_func);
363 cso->alpha_to_coverage = blend_state->alpha_to_coverage
482 struct zink_depth_stencil_alpha_state *cso = CALLOC_STRUCT(zink_depth_stencil_alpha_state); local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/tests/trivial/
quad-tex.c 69 struct cso_context *cso; member in struct:program
103 /* create the pipe driver context and cso context */
105 p->cso = cso_create_context(p->pipe, 0);
292 cso_destroy_context(p->cso);
315 cso_set_framebuffer(p->cso, &p->framebuffer);
321 cso_set_blend(p->cso, &p->blend);
322 cso_set_depth_stencil_alpha(p->cso, &p->depthstencil);
323 cso_set_rasterizer(p->cso, &p->rasterizer);
324 cso_set_viewport(p->cso, &p->viewport);
327 cso_set_samplers(p->cso, PIPE_SHADER_FRAGMENT, 1, samplers)
    [all...]
tri.c 66 struct cso_context *cso; member in struct:program
97 /* create the pipe driver context and cso context */
99 p->cso = cso_create_context(p->pipe, 0);
232 cso_destroy_context(p->cso);
251 cso_set_framebuffer(p->cso, &p->framebuffer);
257 cso_set_blend(p->cso, &p->blend);
258 cso_set_depth_stencil_alpha(p->cso, &p->depthstencil);
259 cso_set_rasterizer(p->cso, &p->rasterizer);
260 cso_set_viewport(p->cso, &p->viewport);
263 cso_set_fragment_shader_handle(p->cso, p->fs)
    [all...]

Completed in 25 milliseconds

1 2 3 4