HomeSort by relevance Sort by last modified time
    Searched refs:cso (Results 51 - 75 of 123) sorted by null

1 23 4 5

  /external/mesa3d/src/gallium/drivers/i915/
i915_state.c 223 struct i915_sampler_state *cso = CALLOC_STRUCT( i915_sampler_state ); local
230 cso->templ = *sampler;
240 cso->state[0] |= SS2_MAX_ANISO_4;
246 cso->state[0] |= ((b << SS2_LOD_BIAS_SHIFT) & SS2_LOD_BIAS_MASK);
253 cso->state[0] |= (SS2_SHADOW_ENABLE |
260 cso->state[0] |= ((minFilt << SS2_MIN_FILTER_SHIFT) |
264 cso->state[1] |=
270 cso->state[1] |= SS3_NORMALIZED_COORDS;
281 cso->minlod = minlod;
282 cso->maxlod = maxlod
465 struct i915_depth_stencil_state *cso = CALLOC_STRUCT( i915_depth_stencil_state ); local
921 struct i915_rasterizer_state *cso = CALLOC_STRUCT( i915_rasterizer_state ); local
    [all...]
  /external/mesa3d/src/gallium/tests/trivial/
quad-tex.c 68 struct cso_context *cso; member in struct:program
102 /* create the pipe driver context and cso context */
104 p->cso = cso_create_context(p->pipe);
281 cso_destroy_context(p->cso);
304 cso_set_framebuffer(p->cso, &p->framebuffer);
310 cso_set_blend(p->cso, &p->blend);
311 cso_set_depth_stencil_alpha(p->cso, &p->depthstencil);
312 cso_set_rasterizer(p->cso, &p->rasterizer);
313 cso_set_viewport(p->cso, &p->viewport);
316 cso_set_samplers(p->cso, PIPE_SHADER_FRAGMENT, 1, samplers)
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_keymap.c 31 * Like Jose's util_hash_table, based on CSO cache code for now.
48 struct cso_hash *cso; member in struct:keymap
117 map->cso = cso_hash_create();
118 if (!map->cso) {
141 cso_hash_delete(map->cso);
153 iter = cso_hash_find(map->cso, key_hash);
216 iter = cso_hash_insert(map->cso, key_hash, item);
283 cso_hash_erase(map->cso, iter);
301 iter = cso_hash_first_node(map->cso);
304 cso_hash_take(map->cso, cso_hash_iter_key(iter))
    [all...]
u_blit.c 58 struct cso_context *cso; member in struct:blit_state
82 util_create_blit(struct pipe_context *pipe, struct cso_context *cso)
92 ctx->cso = cso;
115 ctx->velem[i].vertex_buffer_index = cso_get_aux_vertex_buffer_slot(cso);
192 cso_set_fragment_shader_handle(ctx->cso, ctx->fs[pipe_tex][writemask][idx]);
214 cso_set_vertex_shader_handle(ctx->cso, ctx->vs);
546 cso_save_state(ctx->cso, (CSO_BIT_BLEND |
566 cso_set_blend(ctx->cso, &ctx->blend_write_color);
567 cso_set_depth_stencil_alpha(ctx->cso, &ctx->dsa_keep_depthstencil)
    [all...]
u_blit.h 48 util_create_blit(struct pipe_context *pipe, struct cso_context *cso);
  /external/mesa3d/src/mesa/state_tracker/
st_cb_drawtex.c 111 struct cso_context *cso = st->cso_context; local
236 cso_save_state(cso, (CSO_BIT_VIEWPORT |
248 cso_set_vertex_shader_handle(cso, vs);
250 cso_set_tessctrl_shader_handle(cso, NULL);
251 cso_set_tesseval_shader_handle(cso, NULL);
252 cso_set_geometry_shader_handle(cso, NULL);
260 cso_set_vertex_elements(cso, numAttribs, velements);
261 cso_set_stream_outputs(cso, 0, NULL, NULL);
276 cso_set_viewport(cso, &vp);
279 util_draw_vertex_buffer(pipe, cso, vbuffer
    [all...]
st_cb_clear.c 179 struct cso_context *cso = st->cso_context; local
199 cso_save_state(cso, (CSO_BIT_BLEND |
240 cso_set_blend(cso, &blend);
264 cso_set_stencil_ref(cso, &stencil_ref);
267 cso_set_depth_stencil_alpha(cso, &depth_stencil);
270 cso_set_vertex_elements(cso, 2, st->util_velems);
271 cso_set_stream_outputs(cso, 0, NULL, NULL);
272 cso_set_sample_mask(cso, ~0);
273 cso_set_min_samples(cso, 1);
274 cso_set_rasterizer(cso, &st->clear.raster)
    [all...]
st_cb_readpixels.c 103 struct cso_context *cso = st->cso_context; local
131 cso_save_state(cso, (CSO_BIT_FRAGMENT_SAMPLER_VIEWS |
147 cso_save_constant_buffer_slot0(cso, PIPE_SHADER_FRAGMENT);
149 cso_set_sample_mask(cso, ~0);
150 cso_set_min_samples(cso, 1);
151 cso_set_render_condition(cso, NULL, FALSE, 0);
187 cso_set_sampler_views(cso, PIPE_SHADER_FRAGMENT, 1, &sampler_view);
191 cso_set_samplers(cso, PIPE_SHADER_FRAGMENT, 1, samplers);
206 cso_set_shader_images(cso, PIPE_SHADER_FRAGMENT, 0, 1, &image);
215 cso_set_framebuffer(cso, &fb)
    [all...]
st_pbo.c 193 struct cso_context *cso = st->cso_context; local
208 cso_set_vertex_shader_handle(cso, st->pbo.vs);
210 cso_set_geometry_shader_handle(cso, addr->depth != 1 ? st->pbo.gs : NULL);
212 cso_set_tessctrl_shader_handle(cso, NULL);
214 cso_set_tesseval_shader_handle(cso, NULL);
250 velem.vertex_buffer_index = cso_get_aux_vertex_buffer_slot(cso);
253 cso_set_vertex_elements(cso, 1, &velem);
255 cso_set_vertex_buffers(cso, velem.vertex_buffer_index, 1, &vbo);
281 cso_set_constant_buffer(cso, PIPE_SHADER_FRAGMENT, 0, &cb);
287 cso_set_rasterizer(cso, &st->pbo.raster)
    [all...]
st_cb_bitmap.c 192 struct cso_context *cso = st->cso_context; local
219 cso_save_state(cso, (CSO_BIT_RASTERIZER |
231 cso_set_rasterizer(cso, &st->bitmap.rasterizer);
234 cso_set_fragment_shader_handle(cso, fpv->driver_shader);
237 cso_set_vertex_shader_handle(cso, st->bitmap.vs);
240 cso_set_tessctrl_shader_handle(cso, NULL);
241 cso_set_tesseval_shader_handle(cso, NULL);
242 cso_set_geometry_shader_handle(cso, NULL);
257 cso_set_samplers(cso, PIPE_SHADER_FRAGMENT, num,
269 cso_set_sampler_views(cso, PIPE_SHADER_FRAGMENT, num, sampler_views)
290 struct cso_context *cso = st->cso_context; local
    [all...]
  /external/mesa3d/src/gallium/state_trackers/xa/
xa_yuv.c 52 cso_set_blend(r->cso, &blend);
65 cso_set_vertex_shader_handle(r->cso, shader.vs);
66 cso_set_fragment_shader_handle(r->cso, shader.fs);
95 cso_set_samplers(r->cso, PIPE_SHADER_FRAGMENT, 3, (const struct pipe_sampler_state **)samplers);
96 cso_set_sampler_views(r->cso, PIPE_SHADER_FRAGMENT, 3, r->bound_sampler_views);
xa_renderer.c 91 cso_set_vertex_elements(r->cso, r->attrs_per_vertex, r->velems);
92 util_draw_user_vertex_buffer(r->cso, r->buffer, PIPE_PRIM_QUADS,
118 cso_set_depth_stencil_alpha(r->cso, &dsa);
126 cso_set_rasterizer(r->cso, &raster);
383 cso_set_framebuffer(r->cso, &fb);
384 cso_set_viewport(r->cso, &viewport);
435 cso_set_blend(r->cso, &blend);
451 cso_set_samplers(r->cso, PIPE_SHADER_FRAGMENT, 1, &p_sampler);
463 cso_set_sampler_views(r->cso, PIPE_SHADER_FRAGMENT, 1, &src_view);
479 cso_set_vertex_shader_handle(r->cso, shader.vs)
    [all...]
xa_context.c 60 ctx->cso = cso_create_context(ctx->pipe);
88 if (r->cso) {
89 cso_destroy_context(r->cso);
90 r->cso = NULL;
292 cso_set_blend(ctx->cso, &blend);
328 cso_set_samplers(ctx->cso, PIPE_SHADER_FRAGMENT, 0, NULL);
329 cso_set_sampler_views(ctx->cso, PIPE_SHADER_FRAGMENT, 0, NULL);
332 cso_set_vertex_shader_handle(ctx->cso, shader.vs);
333 cso_set_fragment_shader_handle(ctx->cso, shader.fs);
  /external/mesa3d/src/gallium/auxiliary/hud/
hud_context.c 62 struct cso_context *cso; member in struct:hud_context
120 struct cso_context *cso = hud->cso; local
131 cso_set_constant_buffer(cso, PIPE_SHADER_VERTEX, 0, &hud->constbuf);
136 cso_set_vertex_buffers(cso, cso_get_aux_vertex_buffer_slot(cso),
138 cso_set_fragment_shader_handle(hud->cso, hud->fs_color);
139 cso_draw_arrays(cso, prim, 0, num_vertices);
478 struct cso_context *cso = hud->cso; local
    [all...]
  /external/mesa3d/src/gallium/auxiliary/postprocess/
pp_program.c 44 struct cso_context *cso)
58 p->cso = cso;
pp_private.h 42 struct cso_context *cso; member in struct:pp_program
  /external/mesa3d/src/gallium/drivers/radeonsi/
si_pipe.h 203 struct si_shader_selector *cso; member in struct:si_shader_ctx_state
462 if (sctx->gs_shader.cso)
463 return &sctx->gs_shader.cso->info;
464 else if (sctx->tes_shader.cso)
465 return &sctx->tes_shader.cso->info;
466 else if (sctx->vs_shader.cso)
467 return &sctx->vs_shader.cso->info;
475 return sctx->gs_shader.cso->gs_copy_shader;
si_state_shaders.c 868 struct si_shader_selector *ps = sctx->ps_shader.cso;
939 if (sctx->tes_shader.cso)
941 else if (sctx->gs_shader.cso)
946 if (sctx->ps_shader.cso && sctx->ps_shader.cso->info.uses_primid)
952 sctx->tes_shader.cso->info.properties[TGSI_PROPERTY_TES_PRIM_MODE];
954 if (sel == sctx->fixed_func_tcs_shader.cso)
955 key->mono.tcs.inputs_to_copy = sctx->vs_shader.cso->outputs_written;
958 if (sctx->gs_shader.cso)
963 if (sctx->ps_shader.cso && sctx->ps_shader.cso->info.uses_primid
    [all...]
si_state_draw.c 102 sctx->tcs_shader.cso ? sctx->tcs_shader.cso : sctx->tes_shader.cso;
128 num_tcs_inputs = util_last_bit64(ls->cso->outputs_written);
130 if (sctx->tcs_shader.cso) {
280 if (sctx->gs_shader.cso)
283 if (sctx->tes_shader.cso) {
288 if ((sctx->tcs_shader.cso && sctx->tcs_shader.cso->info.uses_primid) ||
289 sctx->tes_shader.cso->info.uses_primid
    [all...]
  /external/mesa3d/src/gallium/state_trackers/nine/
pixelshader9.h 119 const DWORD *pFunction, void *cso );
124 const DWORD *pFunction, void *cso );
vertexshader9.h 123 const DWORD *pFunction, void *cso );
128 const DWORD *pFunction, void *cso );
  /external/mesa3d/src/gallium/drivers/freedreno/
freedreno_state.c 43 /* All the generic state handling.. In case of CSO's that are specific
119 struct pipe_framebuffer_state *cso; local
151 cso = &ctx->batch->framebuffer;
153 util_copy_framebuffer_state(cso, framebuffer);
159 ctx->disabled_scissor.maxx = cso->width;
160 ctx->disabled_scissor.maxy = cso->height;
251 struct pipe_blend_state *cso = hwcso; local
255 bool new_is_dual = cso ?
256 cso->rt[0].blend_enable && util_blend_state_is_dual(cso, 0)
    [all...]
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);
  /external/mesa3d/src/gallium/drivers/ilo/
ilo_state.c 376 if (cbuf->cso[i].resource)
379 u_upload_data(ilo->uploader, 0, cbuf->cso[i].info.size, 16,
380 cbuf->cso[i].user_buffer, &offset, &cbuf->cso[i].resource);
382 cbuf->cso[i].info.vma = ilo_resource_get_vma(cbuf->cso[i].resource);
383 cbuf->cso[i].info.offset = offset;
385 memset(&cbuf->cso[i].surface, 0, sizeof(cbuf->cso[i].surface));
386 ilo_state_surface_init_for_buffer(&cbuf->cso[i].surface
529 const struct pipe_vertex_buffer *cso = &vec->vb.states[pipe_idx]; local
832 struct ilo_global_binding_cso *cso = local
1553 struct ilo_cbuf_cso *cso = &cbuf->cso[index + i]; local
1590 struct ilo_cbuf_cso *cso = &cbuf->cso[index + i]; local
1701 const struct ilo_surface_cso *cso = local
2449 struct ilo_global_binding_cso *cso = local
2503 struct ilo_view_cso *cso = (struct ilo_view_cso *) vec->view[sh].states[i]; local
2531 struct ilo_surface_cso *cso = local
2543 struct ilo_surface_cso *cso = local
2556 struct ilo_surface_cso *cso = local
2565 struct ilo_global_binding_cso *cso = local
    [all...]
  /external/mesa3d/src/gallium/drivers/freedreno/a3xx/
fd3_program.c 51 create_shader_stateobj(struct pipe_context *pctx, const struct pipe_shader_state *cso,
57 so->shader = ir3_shader_create(compiler, cso, type, &ctx->debug);
63 const struct pipe_shader_state *cso)
65 return create_shader_stateobj(pctx, cso, SHADER_FRAGMENT);
77 const struct pipe_shader_state *cso)
79 return create_shader_stateobj(pctx, cso, SHADER_VERTEX);

Completed in 740 milliseconds

1 23 4 5