/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_screen.c | 54 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 …]
|
D | nv30_clear.c | 86 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()
|
D | nv30_vertprog.c | 58 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()
|
D | nv30_texture.c | 131 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()
|
D | nv30_fragprog.c | 69 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()
|
D | nv30_state.c | 42 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()
|
D | nv30_fragtex.c | 37 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_fragtex_validate() local 70 if (eng3d->oclass >= NV40_3D_CLASS) { in nv30_fragtex_validate()
|
D | nv30_query.c | 277 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()
|
D | nv30_draw.c | 234 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()
|
D | nv30_screen.h | 32 struct nouveau_object *eng3d; member
|
D | nv30_state_validate.c | 41 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()
|
D | nv30_vbo.c | 467 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/ |
D | nv04_context.c | 66 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()
|
D | nv04_render.c | 169 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); \
|
D | nouveau_context.h | 55 struct nouveau_object *eng3d; member 100 (to_nouveau_context(ctx)->hw.eng3d)
|
D | nv04_context.h | 35 struct nouveau_object *eng3d; member
|
D | nv10_context.c | 210 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()
|
D | nv20_context.c | 106 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/ |
D | nvc0_surface.c | 1265 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 …]
|
D | nvc0_screen.c | 729 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 …]
|
D | nvc0_shader_state.c | 74 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()
|
D | nvc0_vbo.c | 365 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()
|
D | nvc0_screen.h | 125 struct nouveau_object *eng3d; /* sqrt(1/2)|kepler> + sqrt(1/2)|fermi> */ member
|
D | nvc0_vbo_translate.c | 233 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/ |
D | nv50_surface.c | 1705 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 …]
|