Home
last modified time | relevance | path

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

12

/third_party/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()
119 return (eng3d->oclass >= NV40_3D_CLASS) ? 1 : 0; in nv30_screen_get_param()
289 struct nouveau_object *eng3d = screen->eng3d; in nv30_screen_get_paramf() local
299 return (eng3d->oclass >= NV40_3D_CLASS) ? 16.0 : 8.0; in nv30_screen_get_paramf()
318 struct nouveau_object *eng3d = screen->eng3d; in nv30_screen_get_shader_param() local
325 return (eng3d->oclass >= NV40_3D_CLASS) ? 512 : 256; in nv30_screen_get_shader_param()
328 return (eng3d->oclass >= NV40_3D_CLASS) ? 512 : 0; in nv30_screen_get_shader_param()
335 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
289 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.c467 struct nouveau_object *eng3d = nv30->screen->eng3d; local
470 if (eng3d->oclass >= NV40_3D_CLASS && index_bias != nv30->state.index_bias) {
476 if (eng3d->oclass == NV40_3D_CLASS && index_size > 1 &&
/third_party/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
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()
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()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_surface.c1265 if (screen->eng3d->oclass >= TU102_3D_CLASS) { in nvc0_blit_3d()
1338 if (screen->eng3d->oclass < TU102_3D_CLASS) in nvc0_blit_3d()
1418 if (screen->eng3d->oclass >= TU102_3D_CLASS) in nvc0_blit_3d()
1610 bool eng3d = false; in nvc0_blit() local
1624 eng3d = true; in nvc0_blit()
1626 eng3d = true; in nvc0_blit()
1631 eng3d = true; in nvc0_blit()
1635 eng3d = true; in nvc0_blit()
1638 eng3d = true; in nvc0_blit()
1642 if (!eng3d && info->dst.format != info->src.format) { in nvc0_blit()
[all …]
Dnvc0_screen.c729 nouveau_object_del(&screen->eng3d); in nvc0_screen_destroy()
962 if (screen->eng3d->oclass < GV100_3D_CLASS) { in nvc0_screen_resize_text_area()
1239 &screen->eng3d); in nvc0_screen_create()
1245 PUSH_DATA (push, screen->eng3d->oclass); in nvc0_screen_create()
1283 if (screen->eng3d->oclass < NVE4_3D_CLASS) { in nvc0_screen_create()
1293 if (screen->eng3d->oclass >= NVC1_3D_CLASS) { in nvc0_screen_create()
1298 nvc0_magic_3d_init(push, screen->eng3d->oclass); in nvc0_screen_create()
1359 if (screen->eng3d->oclass < GM107_3D_CLASS) { in nvc0_screen_create()
1380 if (screen->eng3d->oclass >= GM107_3D_CLASS) { in nvc0_screen_create()
1382 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()
301 if (nvc0->screen->eng3d->oclass >= GM200_3D_CLASS) { in nvc0_layer_validate()
Dnvc0_vbo.c365 if (nvc0->screen->eng3d->oclass < TU102_3D_CLASS) in nvc0_validate_vertex_buffers()
415 if (nvc0->screen->eng3d->oclass < TU102_3D_CLASS) in nvc0_validate_vertex_buffers_shared()
784 if (nvc0->screen->eng3d->oclass < GM107_3D_CLASS) in nvc0_draw_stream_output()
993 if (nvc0->screen->eng3d->oclass < TU102_3D_CLASS) { in nvc0_draw_vbo()
1107 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.c233 if (nvc0->screen->eng3d->oclass < TU102_3D_CLASS) in nvc0_push_setup_vertex_array()
630 if (nvc0->screen->eng3d->oclass < GM107_3D_CLASS) in nvc0_push_vbo()
787 if (nvc0->screen->eng3d->oclass < TU102_3D_CLASS) in nvc0_push_upload_vertex_ids()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_surface.c1705 bool eng3d = FALSE; in nv50_blit() local
1719 eng3d = true; in nv50_blit()
1721 eng3d = true; in nv50_blit()
1726 eng3d = true; in nv50_blit()
1730 eng3d = true; in nv50_blit()
1733 eng3d = true; in nv50_blit()
1737 if (!eng3d && info->dst.format != info->src.format) { in nv50_blit()
1740 eng3d = true; in nv50_blit()
1745 eng3d = true; in nv50_blit()
1748 eng3d = true; in nv50_blit()
[all …]

12