Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_screen.c54 struct nouveau_object *eng3d = screen->eng3d; in nv30_screen_get_param() local
60 return (eng3d->oclass >= NV40_3D_CLASS) ? 4 : 1; in nv30_screen_get_param()
107 return eng3d->oclass == NV35_3D_CLASS || eng3d->oclass >= NV40_3D_CLASS; in nv30_screen_get_param()
116 return (eng3d->oclass >= NV40_3D_CLASS) ? 1 : 0; in nv30_screen_get_param()
286 struct nouveau_object *eng3d = screen->eng3d; in nv30_screen_get_paramf() local
296 return (eng3d->oclass >= NV40_3D_CLASS) ? 16.0 : 8.0; in nv30_screen_get_paramf()
315 struct nouveau_object *eng3d = screen->eng3d; in nv30_screen_get_shader_param() local
322 return (eng3d->oclass >= NV40_3D_CLASS) ? 512 : 256; in nv30_screen_get_shader_param()
325 return (eng3d->oclass >= NV40_3D_CLASS) ? 512 : 0; in nv30_screen_get_shader_param()
332 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_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_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
289 if (eng3d->oclass >= NV40_3D_CLASS) { in nv30_sampler_view_create()
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.c466 struct nouveau_object *eng3d = nv30->screen->eng3d; local
469 if (eng3d->oclass >= NV40_3D_CLASS && index_bias != nv30->state.index_bias) {
475 if (eng3d->oclass == NV40_3D_CLASS && index_size > 1 &&
/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.c106 PUSH_DATA (push, hw->eng3d->handle); in nv20_hwctx_init()
435 nouveau_object_del(&nctx->hw.eng3d); in nv20_context_destroy()
489 NULL, 0, &nctx->hw.eng3d); in nv20_context_create()
Dnv10_context.c210 PUSH_DATA (push, hw->eng3d->handle); in nv10_hwctx_init()
424 nouveau_object_del(&nctx->hw.eng3d); in nv10_context_destroy()
481 NULL, 0, &nctx->hw.eng3d); in nv10_context_create()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_surface.c1242 if (screen->eng3d->oclass >= TU102_3D_CLASS) { in nvc0_blit_3d()
1307 if (screen->eng3d->oclass < TU102_3D_CLASS) in nvc0_blit_3d()
1387 if (screen->eng3d->oclass >= TU102_3D_CLASS) in nvc0_blit_3d()
1574 bool eng3d = false; in nvc0_blit() local
1588 eng3d = true; in nvc0_blit()
1590 eng3d = true; in nvc0_blit()
1595 eng3d = true; in nvc0_blit()
1599 eng3d = true; in nvc0_blit()
1602 eng3d = true; in nvc0_blit()
1606 if (!eng3d && info->dst.format != info->src.format) { in nvc0_blit()
[all …]
Dnvc0_screen.c711 nouveau_object_del(&screen->eng3d); in nvc0_screen_destroy()
944 if (screen->eng3d->oclass < GV100_3D_CLASS) { in nvc0_screen_resize_text_area()
1221 &screen->eng3d); in nvc0_screen_create()
1227 PUSH_DATA (push, screen->eng3d->oclass); in nvc0_screen_create()
1265 if (screen->eng3d->oclass < NVE4_3D_CLASS) { in nvc0_screen_create()
1275 if (screen->eng3d->oclass >= NVC1_3D_CLASS) { in nvc0_screen_create()
1280 nvc0_magic_3d_init(push, screen->eng3d->oclass); in nvc0_screen_create()
1341 if (screen->eng3d->oclass < GM107_3D_CLASS) { in nvc0_screen_create()
1362 if (screen->eng3d->oclass >= GM107_3D_CLASS) { in nvc0_screen_create()
1364 if (screen->eng3d->oclass == GM107_3D_CLASS) { in nvc0_screen_create()
[all …]
Dnvc0_shader_state.c74 if (nvc0->screen->eng3d->oclass < GV100_3D_CLASS) { in nvc0_program_sp_start_id()
291 if (nvc0->screen->eng3d->oclass >= GM200_3D_CLASS) { in nvc0_layer_validate()
Dnvc0_vbo.c364 if (nvc0->screen->eng3d->oclass < TU102_3D_CLASS) in nvc0_validate_vertex_buffers()
414 if (nvc0->screen->eng3d->oclass < TU102_3D_CLASS) in nvc0_validate_vertex_buffers_shared()
782 if (nvc0->screen->eng3d->oclass < GM107_3D_CLASS) in nvc0_draw_stream_output()
972 if (nvc0->screen->eng3d->oclass < TU102_3D_CLASS) { in nvc0_draw_vbo()
1086 if (nvc0->screen->eng3d->oclass < GM107_3D_CLASS) in nvc0_draw_vbo()
Dnvc0_screen.h125 struct nouveau_object *eng3d; /* sqrt(1/2)|kepler> + sqrt(1/2)|fermi> */ member
Dnvc0_vbo_translate.c232 if (nvc0->screen->eng3d->oclass < TU102_3D_CLASS) in nvc0_push_setup_vertex_array()
623 if (nvc0->screen->eng3d->oclass < GM107_3D_CLASS) in nvc0_push_vbo()
779 if (nvc0->screen->eng3d->oclass < TU102_3D_CLASS) in nvc0_push_upload_vertex_ids()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_surface.c1666 bool eng3d = FALSE; in nv50_blit() local
1680 eng3d = true; in nv50_blit()
1682 eng3d = true; in nv50_blit()
1687 eng3d = true; in nv50_blit()
1691 eng3d = true; in nv50_blit()
1694 eng3d = true; in nv50_blit()
1698 if (!eng3d && info->dst.format != info->src.format) { in nv50_blit()
1701 eng3d = true; in nv50_blit()
1706 eng3d = true; in nv50_blit()
1709 eng3d = true; in nv50_blit()
[all …]

12