Home
last modified time | relevance | path

Searched refs:eng3d (Results 1 – 25 of 29) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_screen.c53 struct nouveau_object *eng3d = screen->eng3d; in nv30_screen_get_param() local
59 return (eng3d->oclass >= NV40_3D_CLASS) ? 4 : 1; in nv30_screen_get_param()
100 return eng3d->oclass == NV35_3D_CLASS || eng3d->oclass >= NV40_3D_CLASS; in nv30_screen_get_param()
107 return (eng3d->oclass >= NV40_3D_CLASS) ? 1 : 0; in nv30_screen_get_param()
257 struct nouveau_object *eng3d = screen->eng3d; in nv30_screen_get_paramf() local
267 return (eng3d->oclass >= NV40_3D_CLASS) ? 16.0 : 8.0; in nv30_screen_get_paramf()
282 struct nouveau_object *eng3d = screen->eng3d; in nv30_screen_get_shader_param() local
289 return (eng3d->oclass >= NV40_3D_CLASS) ? 512 : 256; in nv30_screen_get_shader_param()
292 return (eng3d->oclass >= NV40_3D_CLASS) ? 512 : 0; in nv30_screen_get_shader_param()
299 return ((eng3d->oclass >= NV40_3D_CLASS) ? (468 - 6): (256 - 6)) * sizeof(float[4]); in nv30_screen_get_shader_param()
[all …]
Dnv30_clear.c86 if (nv30->screen->eng3d->oclass < NV40_3D_CLASS) { in nv30_clear()
111 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_clear_render_target() local
142 if (eng3d->oclass < NV40_3D_CLASS) in nv30_clear_render_target()
171 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_clear_depth_stencil() local
206 if (eng3d->oclass < NV40_3D_CLASS) { in nv30_clear_depth_stencil()
Dnv30_vertprog.c58 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_vertprog_validate() local
80 vp->translated = _nvfx_vertprog_translate(eng3d->oclass, vp); in nv30_vertprog_validate()
106 if (eng3d->oclass < NV40_3D_CLASS) { in nv30_vertprog_validate()
149 if (eng3d->oclass < NV40_3D_CLASS) { in nv30_vertprog_validate()
208 if (eng3d->oclass < NV40_3D_CLASS) { in nv30_vertprog_validate()
Dnv30_texture.c131 struct nouveau_object *eng3d = nv30_context(pipe)->screen->eng3d; in nv30_sampler_state_create() local
152 if (eng3d->oclass >= NV40_3D_CLASS) { in nv30_sampler_state_create()
223 struct nouveau_object *eng3d = nv30_context(pipe)->screen->eng3d; in nv30_sampler_view_create() local
288 if (eng3d->oclass >= NV40_3D_CLASS) { in nv30_sampler_view_create()
Dnv30_fragprog.c69 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_fragprog_validate() local
75 _nvfx_fragprog_translate(eng3d->oclass, fp); in nv30_fragprog_validate()
121 if (eng3d->oclass < NV40_3D_CLASS) { in nv30_fragprog_validate()
Dnv30_state.c42 struct nouveau_object *eng3d = nv30_context(pipe)->screen->eng3d; in nv30_blend_state_create() local
87 if (eng3d->oclass >= NV40_3D_CLASS) { in nv30_blend_state_create()
100 if (eng3d->oclass < NV40_3D_CLASS) { in nv30_blend_state_create()
214 struct nouveau_object *eng3d = nv30_context(pipe)->screen->eng3d; in nv30_zsa_state_create() local
227 if (eng3d->oclass == NV35_3D_CLASS || eng3d->oclass >= NV40_3D_CLASS) { in nv30_zsa_state_create()
Dnv30_fragtex.c37 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_fragtex_validate() local
70 if (eng3d->oclass >= NV40_3D_CLASS) { in nv30_fragtex_validate()
Dnv30_query.c277 struct nouveau_object *eng3d = nv30_context(pipe)->screen->eng3d; in nv30_query_init() local
285 if (eng3d->oclass >= NV40_3D_CLASS) in nv30_query_init()
Dnv30_draw.c234 uint num_texcoords = (screen->eng3d->oclass < NV40_3D_CLASS) ? 8 : 10; in vroute_add()
256 if (screen->eng3d->oclass < NV40_3D_CLASS) { in vroute_add()
284 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_render_validate() local
368 if (eng3d->oclass >= NV40_3D_CLASS) { in nv30_render_validate()
Dnv30_screen.h32 struct nouveau_object *eng3d; member
Dnv30_state_validate.c41 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_validate_fb() local
126 if (eng3d->oclass >= NV40_3D_CLASS) { in nv30_validate_fb()
510 if (nv30->screen->eng3d->oclass >= NV40_3D_CLASS) { in nv30_state_validate()
Dnv30_vbo.c468 struct nouveau_object *eng3d = nv30->screen->eng3d; local
471 if (eng3d->oclass >= NV40_3D_CLASS && index_bias != nv30->state.index_bias) {
477 if (eng3d->oclass == NV40_3D_CLASS && index_size > 1 &&
Dnv30_context.c239 if (screen->eng3d->oclass < NV40_3D_CLASS) in nv30_context_create()
Dnv30_push.c248 if (nv30->screen->eng3d->oclass >= NV40_3D_CLASS) { in nv30_push_vbo()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_context.c66 fahrenheit = hw->eng3d; in nv04_context_engine()
68 if (fahrenheit != nctx->eng3d) { in nv04_context_engine()
71 nctx->eng3d = fahrenheit; in nv04_context_engine()
92 PUSH_DATA (push, hw->eng3d->handle); in nv04_hwctx_init()
132 nouveau_object_del(&nctx->hw.eng3d); in nv04_context_destroy()
176 &hw->eng3d); in nv04_context_create()
Dnv04_render.c169 struct nouveau_object *eng3d = nv04_context_engine(ctx); in swtnl_start() local
179 if (eng3d->oclass == NV04_MULTITEX_TRIANGLE_CLASS) in swtnl_start()
206 struct nouveau_object *eng3d = to_nv04_context(ctx)->eng3d; \
209 int multi = (eng3d->oclass == NV04_MULTITEX_TRIANGLE_CLASS); \
Dnouveau_context.h55 struct nouveau_object *eng3d; member
100 (to_nouveau_context(ctx)->hw.eng3d)
Dnv04_context.h35 struct nouveau_object *eng3d; member
Dnv20_context.c105 PUSH_DATA (push, hw->eng3d->handle); in nv20_hwctx_init()
434 nouveau_object_del(&nctx->hw.eng3d); in nv20_context_destroy()
488 NULL, 0, &nctx->hw.eng3d); in nv20_context_create()
Dnv10_context.c209 PUSH_DATA (push, hw->eng3d->handle); in nv10_hwctx_init()
423 nouveau_object_del(&nctx->hw.eng3d); in nv10_context_destroy()
480 NULL, 0, &nctx->hw.eng3d); in nv10_context_create()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_screen.c576 nouveau_object_del(&screen->eng3d); in nvc0_screen_destroy()
992 &screen->eng3d); in nvc0_screen_create()
998 PUSH_DATA (push, screen->eng3d->oclass); in nvc0_screen_create()
1036 if (screen->eng3d->oclass < NVE4_3D_CLASS) { in nvc0_screen_create()
1046 if (screen->eng3d->oclass >= NVC1_3D_CLASS) { in nvc0_screen_create()
1051 nvc0_magic_3d_init(push, screen->eng3d->oclass); in nvc0_screen_create()
1112 if (screen->eng3d->oclass < GM107_3D_CLASS) { in nvc0_screen_create()
1133 if (screen->eng3d->oclass >= GM107_3D_CLASS) { in nvc0_screen_create()
1135 if (screen->eng3d->oclass == GM107_3D_CLASS) { in nvc0_screen_create()
1244 if (screen->eng3d->oclass >= NVE4_3D_CLASS) { in nvc0_screen_create()
Dnvc0_surface.c1571 bool eng3d = false; in nvc0_blit() local
1578 eng3d = true; in nvc0_blit()
1580 eng3d = true; in nvc0_blit()
1585 eng3d = true; in nvc0_blit()
1589 eng3d = true; in nvc0_blit()
1592 eng3d = true; in nvc0_blit()
1596 if (!eng3d && info->dst.format != info->src.format) { in nvc0_blit()
1598 eng3d = true; in nvc0_blit()
1603 eng3d = true; in nvc0_blit()
1606 eng3d = info->src.format != PIPE_FORMAT_I8_UNORM; in nvc0_blit()
[all …]
Dnvc0_screen.h117 struct nouveau_object *eng3d; /* sqrt(1/2)|kepler> + sqrt(1/2)|fermi> */ member
Dnvc0_vbo.c776 if (nvc0->screen->eng3d->oclass < GM107_3D_CLASS) in nvc0_draw_stream_output()
1062 if (nvc0->screen->eng3d->oclass < GM107_3D_CLASS) in nvc0_draw_vbo()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_surface.c1663 bool eng3d = FALSE; in nv50_blit() local
1670 eng3d = true; in nv50_blit()
1672 eng3d = true; in nv50_blit()
1677 eng3d = true; in nv50_blit()
1681 eng3d = true; in nv50_blit()
1684 eng3d = true; in nv50_blit()
1688 if (!eng3d && info->dst.format != info->src.format) { in nv50_blit()
1691 eng3d = true; in nv50_blit()
1696 eng3d = true; in nv50_blit()
1699 eng3d = true; in nv50_blit()
[all …]

12