/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv20_context.c | 68 PUSH_DATA (push, pack_rgba_clamp_f(s->format, ctx->Color.ClearColor.f)); in nv20_clear() 83 PUSH_DATA (push, pack_zs_f(s->format, ctx->Depth.Clear, in nv20_clear() 90 PUSH_DATA (push, clear); in nv20_clear() 105 PUSH_DATA (push, hw->eng3d->handle); in nv20_hwctx_init() 107 PUSH_DATA (push, hw->ntfy->handle); in nv20_hwctx_init() 109 PUSH_DATA (push, fifo->vram); in nv20_hwctx_init() 110 PUSH_DATA (push, fifo->gart); in nv20_hwctx_init() 112 PUSH_DATA (push, fifo->vram); in nv20_hwctx_init() 113 PUSH_DATA (push, fifo->vram); in nv20_hwctx_init() 115 PUSH_DATA (push, fifo->vram); in nv20_hwctx_init() [all …]
|
D | nv10_context.c | 155 PUSH_DATA (push, pack_zs_f(s->format, ctx->Depth.Clear, 0)); in nv17_zclear() 157 PUSH_DATA (push, 1); in nv17_zclear() 209 PUSH_DATA (push, hw->eng3d->handle); in nv10_hwctx_init() 211 PUSH_DATA (push, hw->ntfy->handle); in nv10_hwctx_init() 214 PUSH_DATA (push, fifo->vram); in nv10_hwctx_init() 215 PUSH_DATA (push, fifo->gart); in nv10_hwctx_init() 216 PUSH_DATA (push, fifo->gart); in nv10_hwctx_init() 218 PUSH_DATA (push, fifo->vram); in nv10_hwctx_init() 219 PUSH_DATA (push, fifo->vram); in nv10_hwctx_init() 222 PUSH_DATA (push, 0); in nv10_hwctx_init() [all …]
|
D | nv04_surface.c | 220 PUSH_DATA (push, swzsurf->handle); in nv04_surface_copy_swizzle() 234 PUSH_DATA (push, fifo->vram); in nv04_surface_copy_swizzle() 236 PUSH_DATA (push, swzsurf_format(dst->format) | in nv04_surface_copy_swizzle() 244 PUSH_DATA (push, swzsurf->handle); in nv04_surface_copy_swizzle() 247 PUSH_DATA (push, sifm_format(src->format)); in nv04_surface_copy_swizzle() 248 PUSH_DATA (push, NV03_SCALED_IMAGE_FROM_MEMORY_OPERATION_SRCCOPY); in nv04_surface_copy_swizzle() 249 PUSH_DATA (push, (y + dy) << 16 | (x + dx)); in nv04_surface_copy_swizzle() 250 PUSH_DATA (push, sub_h << 16 | sub_w); in nv04_surface_copy_swizzle() 251 PUSH_DATA (push, (y + dy) << 16 | (x + dx)); in nv04_surface_copy_swizzle() 252 PUSH_DATA (push, sub_h << 16 | sub_w); in nv04_surface_copy_swizzle() [all …]
|
D | nv10_state_raster.c | 43 PUSH_DATA (push, nvgl_comparison_op(ctx->Color.AlphaFunc)); in nv10_emit_alpha_func() 44 PUSH_DATA (push, FLOAT_TO_UBYTE(ctx->Color.AlphaRef)); in nv10_emit_alpha_func() 53 PUSH_DATA (push, FLOAT_TO_UBYTE(ctx->Color.BlendColor[3]) << 24 | in nv10_emit_blend_color() 68 PUSH_DATA (push, nvgl_blend_eqn(ctx->Color.Blend[0].EquationRGB)); in nv10_emit_blend_equation() 77 PUSH_DATA (push, nvgl_blend_func(ctx->Color.Blend[0].SrcRGB)); in nv10_emit_blend_func() 78 PUSH_DATA (push, nvgl_blend_func(ctx->Color.Blend[0].DstRGB)); in nv10_emit_blend_func() 87 PUSH_DATA (push, ((ctx->Color.ColorMask[0][3] ? 1 << 24 : 0) | in nv10_emit_color_mask() 103 PUSH_DATA (push, nvgl_comparison_op(ctx->Depth.Func)); in nv10_emit_depth() 125 PUSH_DATA (push, nvgl_logicop_func(ctx->Color.LogicOp)); in nv10_emit_logic_opcode() 134 PUSH_DATA (push, ctx->Light.ShadeModel == GL_SMOOTH ? in nv10_emit_shade_model() [all …]
|
D | nv04_render.c | 100 PUSH_DATA (push, nv04->colorkey); in swtnl_restart_ttri() 106 PUSH_DATA (push, nv04->filter[0]); in swtnl_restart_ttri() 107 PUSH_DATA (push, nv04->blend); in swtnl_restart_ttri() 108 PUSH_DATA (push, nv04->ctrl[0] & ~0x3e000000); in swtnl_restart_ttri() 109 PUSH_DATA (push, nv04->fog); in swtnl_restart_ttri() 126 PUSH_DATA (push, nv04->filter[0]); in swtnl_restart_mtri() 127 PUSH_DATA (push, nv04->filter[1]); in swtnl_restart_mtri() 128 PUSH_DATA (push, nv04->alpha[0]); in swtnl_restart_mtri() 129 PUSH_DATA (push, nv04->color[0]); in swtnl_restart_mtri() 131 PUSH_DATA (push, nv04->alpha[1]); in swtnl_restart_mtri() [all …]
|
D | nv20_state_frag.c | 43 PUSH_DATA (push, a_in); in nv20_emit_tex_env() 45 PUSH_DATA (push, a_out); in nv20_emit_tex_env() 47 PUSH_DATA (push, c_in); in nv20_emit_tex_env() 49 PUSH_DATA (push, c_out); in nv20_emit_tex_env() 51 PUSH_DATA (push, k); in nv20_emit_tex_env() 66 PUSH_DATA (push, in); in nv20_emit_frag() 67 PUSH_DATA (push, in >> 32); in nv20_emit_frag() 70 PUSH_DATA (push, n); in nv20_emit_frag()
|
D | nv04_context.c | 70 PUSH_DATA (push, fahrenheit->handle); in nv04_context_engine() 85 PUSH_DATA (push, hw->surf3d->handle); in nv04_hwctx_init() 87 PUSH_DATA (push, hw->ntfy->handle); in nv04_hwctx_init() 88 PUSH_DATA (push, fifo->vram); in nv04_hwctx_init() 89 PUSH_DATA (push, fifo->vram); in nv04_hwctx_init() 92 PUSH_DATA (push, hw->eng3d->handle); in nv04_hwctx_init() 94 PUSH_DATA (push, hw->ntfy->handle); in nv04_hwctx_init() 95 PUSH_DATA (push, fifo->vram); in nv04_hwctx_init() 96 PUSH_DATA (push, fifo->gart); in nv04_hwctx_init() 97 PUSH_DATA (push, hw->surf3d->handle); in nv04_hwctx_init() [all …]
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
D | nvc0_screen.c | 297 PUSH_DATA (push, (m - 0x3800) / 8); in nvc0_graph_set_macro() 298 PUSH_DATA (push, pos); in nvc0_graph_set_macro() 300 PUSH_DATA (push, pos); in nvc0_graph_set_macro() 310 PUSH_DATA (push, 0xff); in nvc0_magic_3d_init() 312 PUSH_DATA (push, 0xff); in nvc0_magic_3d_init() 313 PUSH_DATA (push, 0xff); in nvc0_magic_3d_init() 315 PUSH_DATA (push, 0xff); in nvc0_magic_3d_init() 316 PUSH_DATA (push, 0xff); in nvc0_magic_3d_init() 318 PUSH_DATA (push, 0x3f); in nvc0_magic_3d_init() 321 PUSH_DATA (push, (3 << 16) | 3); in nvc0_magic_3d_init() [all …]
|
D | nvc0_state_validate.c | 30 PUSH_DATA (push, 0); in nvc0_validate_zcull() 33 PUSH_DATA (push, bo->offset + offset); in nvc0_validate_zcull() 37 PUSH_DATA (push, bo->offset + offset); in nvc0_validate_zcull() 39 PUSH_DATA (push, size); in nvc0_validate_zcull() 40 PUSH_DATA (push, size >> 16); in nvc0_validate_zcull() 42 PUSH_DATA (push, 2); in nvc0_validate_zcull() 44 PUSH_DATA (push, width); in nvc0_validate_zcull() 45 PUSH_DATA (push, height); in nvc0_validate_zcull() 46 PUSH_DATA (push, 1); in nvc0_validate_zcull() 47 PUSH_DATA (push, 0); in nvc0_validate_zcull() [all …]
|
D | nvc0_transfer.c | 41 PUSH_DATA (push, src->tile_mode); in nvc0_m2mf_transfer_rect() 42 PUSH_DATA (push, src->width * cpp); in nvc0_m2mf_transfer_rect() 43 PUSH_DATA (push, src->height); in nvc0_m2mf_transfer_rect() 44 PUSH_DATA (push, src->depth); in nvc0_m2mf_transfer_rect() 45 PUSH_DATA (push, src->z); in nvc0_m2mf_transfer_rect() 50 PUSH_DATA (push, src->width * cpp); in nvc0_m2mf_transfer_rect() 57 PUSH_DATA (push, dst->tile_mode); in nvc0_m2mf_transfer_rect() 58 PUSH_DATA (push, dst->width * cpp); in nvc0_m2mf_transfer_rect() 59 PUSH_DATA (push, dst->height); in nvc0_m2mf_transfer_rect() 60 PUSH_DATA (push, dst->depth); in nvc0_m2mf_transfer_rect() [all …]
|
D | nvc0_shader_state.c | 50 PUSH_DATA (push, align(prog->immd_size, 0x100)); in nvc0_program_update_context_state() 52 PUSH_DATA (push, nvc0->screen->text->offset + prog->immd_base); in nvc0_program_update_context_state() 54 PUSH_DATA (push, (14 << 4) | 1); in nvc0_program_update_context_state() 60 PUSH_DATA (push, (14 << 4) | 0); in nvc0_program_update_context_state() 95 PUSH_DATA (push, 0x11); in nvc0_vertprog_validate() 96 PUSH_DATA (push, vp->code_base); in nvc0_vertprog_validate() 98 PUSH_DATA (push, vp->max_gpr); in nvc0_vertprog_validate() 120 PUSH_DATA (push, 0x51); in nvc0_fragprog_validate() 121 PUSH_DATA (push, fp->code_base); in nvc0_fragprog_validate() 123 PUSH_DATA (push, fp->max_gpr); in nvc0_fragprog_validate() [all …]
|
D | nvc0_surface.c | 111 PUSH_DATA (push, format); in nvc0_2d_texture_set() 112 PUSH_DATA (push, 1); in nvc0_2d_texture_set() 114 PUSH_DATA (push, mt->level[level].pitch); in nvc0_2d_texture_set() 115 PUSH_DATA (push, width); in nvc0_2d_texture_set() 116 PUSH_DATA (push, height); in nvc0_2d_texture_set() 118 PUSH_DATA (push, bo->offset + offset); in nvc0_2d_texture_set() 121 PUSH_DATA (push, format); in nvc0_2d_texture_set() 122 PUSH_DATA (push, 0); in nvc0_2d_texture_set() 123 PUSH_DATA (push, mt->level[level].tile_mode); in nvc0_2d_texture_set() 124 PUSH_DATA (push, depth); in nvc0_2d_texture_set() [all …]
|
D | nvc0_vbo.c | 259 PUSH_DATA (push, i); in nvc0_update_user_vbufs() 261 PUSH_DATA (push, address[b] + base + size - 1); in nvc0_update_user_vbufs() 263 PUSH_DATA (push, address[b] + ve->src_offset); in nvc0_update_user_vbufs() 291 PUSH_DATA (push, b); in nvc0_update_user_vbufs_shared() 293 PUSH_DATA (push, address + base + size - 1); in nvc0_update_user_vbufs_shared() 295 PUSH_DATA (push, address); in nvc0_update_user_vbufs_shared() 332 PUSH_DATA (push, ve->pipe.instance_divisor); in nvc0_validate_vertex_buffers() 335 PUSH_DATA (push, (1 << 12) | vb->stride); in nvc0_validate_vertex_buffers() 346 PUSH_DATA (push, (1 << 12) | vb->stride); in nvc0_validate_vertex_buffers() 348 PUSH_DATA (push, res->address + offset); in nvc0_validate_vertex_buffers() [all …]
|
/external/mesa3d/src/gallium/drivers/nv30/ |
D | nv30_transfer.c | 93 PUSH_DATA (push, vp->start); in nv30_transfer_rect_vertprog() 95 PUSH_DATA (push, 0x401f9c6c); /* mov o[hpos], a[0]; */ in nv30_transfer_rect_vertprog() 96 PUSH_DATA (push, 0x0040000d); in nv30_transfer_rect_vertprog() 97 PUSH_DATA (push, 0x8106c083); in nv30_transfer_rect_vertprog() 98 PUSH_DATA (push, 0x6041ff80); in nv30_transfer_rect_vertprog() 100 PUSH_DATA (push, 0x401f9c6c); /* mov o[tex0], a[8]; end; */ in nv30_transfer_rect_vertprog() 101 PUSH_DATA (push, 0x0040080d); in nv30_transfer_rect_vertprog() 102 PUSH_DATA (push, 0x8106c083); in nv30_transfer_rect_vertprog() 103 PUSH_DATA (push, 0x6041ff9d); in nv30_transfer_rect_vertprog() 198 PUSH_DATA (push, dst->w << 16); in nv30_transfer_rect_blit() [all …]
|
D | nv30_screen.c | 278 PUSH_DATA (push, 0); in nv30_screen_fence_emit() 279 PUSH_DATA (push, *sequence); in nv30_screen_fence_emit() 459 PUSH_DATA (push, screen->eng3d->handle); in nv30_screen_create() 461 PUSH_DATA (push, screen->ntfy->handle); in nv30_screen_create() 462 PUSH_DATA (push, fifo->vram); /* TEXTURE0 */ in nv30_screen_create() 463 PUSH_DATA (push, fifo->gart); /* TEXTURE1 */ in nv30_screen_create() 464 PUSH_DATA (push, fifo->vram); /* COLOR1 */ in nv30_screen_create() 465 PUSH_DATA (push, screen->null->handle); /* UNK190 */ in nv30_screen_create() 466 PUSH_DATA (push, fifo->vram); /* COLOR0 */ in nv30_screen_create() 467 PUSH_DATA (push, fifo->vram); /* ZETA */ in nv30_screen_create() [all …]
|
D | nv30_clear.c | 83 PUSH_DATA (push, zeta); in nv30_clear() 84 PUSH_DATA (push, colr); in nv30_clear() 85 PUSH_DATA (push, mode); in nv30_clear() 89 PUSH_DATA (push, zeta); in nv30_clear() 90 PUSH_DATA (push, colr); in nv30_clear() 91 PUSH_DATA (push, mode); in nv30_clear() 130 PUSH_DATA (push, NV30_3D_RT_ENABLE_COLOR0); in nv30_clear_render_target() 132 PUSH_DATA (push, sf->width << 16); in nv30_clear_render_target() 133 PUSH_DATA (push, sf->height << 16); in nv30_clear_render_target() 134 PUSH_DATA (push, rt_format); in nv30_clear_render_target() [all …]
|
D | nv30_state_validate.c | 105 PUSH_DATA (push, 0); in nv30_validate_fb() 107 PUSH_DATA (push, w << 16); in nv30_validate_fb() 108 PUSH_DATA (push, h << 16); in nv30_validate_fb() 109 PUSH_DATA (push, rt_format); in nv30_validate_fb() 111 PUSH_DATA (push, w << 16); in nv30_validate_fb() 112 PUSH_DATA (push, h << 16); in nv30_validate_fb() 114 PUSH_DATA (push, (y << 16) | x); in nv30_validate_fb() 115 PUSH_DATA (push, 0); in nv30_validate_fb() 116 PUSH_DATA (push, ((w - 1) << 16) | 0); in nv30_validate_fb() 117 PUSH_DATA (push, ((h - 1) << 16) | 0); in nv30_validate_fb() [all …]
|
D | nv30_vbo.c | 210 PUSH_DATA (push, (vb->stride << 8) | vertex->element[i].state); in nv30_vbo_validate() 212 PUSH_DATA (push, NV30_3D_VTXFMT_TYPE_V32_FLOAT); in nv30_vbo_validate() 216 PUSH_DATA (push, NV30_3D_VTXFMT_TYPE_V32_FLOAT); in nv30_vbo_validate() 338 PUSH_DATA (push, prim); in nv30_draw_arrays() 348 PUSH_DATA (push, 0xff000000 | start); in nv30_draw_arrays() 354 PUSH_DATA (push, ((npush - 1) << 24) | start); in nv30_draw_arrays() 357 PUSH_DATA (push, NV30_3D_VERTEX_BEGIN_END_STOP); in nv30_draw_arrays() 368 PUSH_DATA (push, *map++); in nv30_draw_elements_inline_u08() 378 PUSH_DATA (push, (map[1] << 16) | map[0]); in nv30_draw_elements_inline_u08() 393 PUSH_DATA (push, *map++); in nv30_draw_elements_inline_u16() [all …]
|
/external/mesa3d/src/gallium/drivers/nv50/ |
D | nv50_screen.c | 308 PUSH_DATA (push, NV50_FIFO_PKHDR(NV50_3D(QUERY_ADDRESS_HIGH), 4)); in nv50_screen_fence_emit() 310 PUSH_DATA (push, screen->fence.bo->offset); in nv50_screen_fence_emit() 311 PUSH_DATA (push, *sequence); in nv50_screen_fence_emit() 312 PUSH_DATA (push, NV50_3D_QUERY_GET_MODE_WRITE_UNK0 | in nv50_screen_fence_emit() 336 PUSH_DATA (push, screen->m2mf->handle); in nv50_screen_init_hwctx() 338 PUSH_DATA (push, screen->sync->handle); in nv50_screen_init_hwctx() 339 PUSH_DATA (push, fifo->vram); in nv50_screen_init_hwctx() 340 PUSH_DATA (push, fifo->vram); in nv50_screen_init_hwctx() 343 PUSH_DATA (push, screen->eng2d->handle); in nv50_screen_init_hwctx() 345 PUSH_DATA (push, screen->sync->handle); in nv50_screen_init_hwctx() [all …]
|
D | nv50_transfer.c | 76 PUSH_DATA (push, 0); in nv50_m2mf_transfer_rect() 77 PUSH_DATA (push, src->tile_mode); in nv50_m2mf_transfer_rect() 78 PUSH_DATA (push, src->width * cpp); in nv50_m2mf_transfer_rect() 79 PUSH_DATA (push, src->height); in nv50_m2mf_transfer_rect() 80 PUSH_DATA (push, src->depth); in nv50_m2mf_transfer_rect() 81 PUSH_DATA (push, src->z); in nv50_m2mf_transfer_rect() 86 PUSH_DATA (push, 1); in nv50_m2mf_transfer_rect() 88 PUSH_DATA (push, src->pitch); in nv50_m2mf_transfer_rect() 93 PUSH_DATA (push, 0); in nv50_m2mf_transfer_rect() 94 PUSH_DATA (push, dst->tile_mode); in nv50_m2mf_transfer_rect() [all …]
|
D | nv50_surface.c | 104 PUSH_DATA (push, format); in nv50_2d_texture_set() 105 PUSH_DATA (push, 1); in nv50_2d_texture_set() 107 PUSH_DATA (push, mt->level[level].pitch); in nv50_2d_texture_set() 108 PUSH_DATA (push, width); in nv50_2d_texture_set() 109 PUSH_DATA (push, height); in nv50_2d_texture_set() 111 PUSH_DATA (push, bo->offset + offset); in nv50_2d_texture_set() 114 PUSH_DATA (push, format); in nv50_2d_texture_set() 115 PUSH_DATA (push, 0); in nv50_2d_texture_set() 116 PUSH_DATA (push, mt->level[level].tile_mode); in nv50_2d_texture_set() 117 PUSH_DATA (push, depth); in nv50_2d_texture_set() [all …]
|
D | nv50_state_validate.c | 16 PUSH_DATA (push, (076543210 << 4) | fb->nr_cbufs); in nv50_validate_fb() 18 PUSH_DATA (push, fb->width << 16); in nv50_validate_fb() 19 PUSH_DATA (push, fb->height << 16); in nv50_validate_fb() 28 PUSH_DATA (push, bo->offset + sf->offset); in nv50_validate_fb() 29 PUSH_DATA (push, nv50_format_table[sf->base.format].rt); in nv50_validate_fb() 31 PUSH_DATA (push, mt->level[sf->base.u.tex.level].tile_mode); in nv50_validate_fb() 32 PUSH_DATA (push, mt->layer_stride >> 2); in nv50_validate_fb() 34 PUSH_DATA (push, sf->width); in nv50_validate_fb() 35 PUSH_DATA (push, sf->height); in nv50_validate_fb() 37 PUSH_DATA (push, sf->depth); in nv50_validate_fb() [all …]
|
D | nv50_shader_state.c | 63 PUSH_DATA (push, (b << 12) | (i << 8) | p | 1); in nv50_constbufs_validate() 75 PUSH_DATA (push, (start << 8) | b); in nv50_constbufs_validate() 93 PUSH_DATA (push, res->address + nv50->constbuf[s][i].offset); in nv50_constbufs_validate() 94 PUSH_DATA (push, (b << 16) | in nv50_constbufs_validate() 97 PUSH_DATA (push, (b << 12) | (i << 8) | p | 1); in nv50_constbufs_validate() 102 PUSH_DATA (push, (i << 8) | p | 0); in nv50_constbufs_validate() 157 PUSH_DATA (push, vp->vp.attrs[0]); in nv50_vertprog_validate() 158 PUSH_DATA (push, vp->vp.attrs[1]); in nv50_vertprog_validate() 160 PUSH_DATA (push, vp->max_out); in nv50_vertprog_validate() 162 PUSH_DATA (push, vp->max_gpr); in nv50_vertprog_validate() [all …]
|
D | nv50_tex.c | 213 PUSH_DATA (push, (i << 1) | 0); in nv50_validate_tic() 222 PUSH_DATA (push, NV50_SURFACE_FORMAT_R8_UNORM); in nv50_validate_tic() 223 PUSH_DATA (push, 1); in nv50_validate_tic() 225 PUSH_DATA (push, 262144); in nv50_validate_tic() 226 PUSH_DATA (push, 65536); in nv50_validate_tic() 227 PUSH_DATA (push, 1); in nv50_validate_tic() 229 PUSH_DATA (push, txc->offset); in nv50_validate_tic() 231 PUSH_DATA (push, 0); in nv50_validate_tic() 232 PUSH_DATA (push, NV50_SURFACE_FORMAT_R8_UNORM); in nv50_validate_tic() 234 PUSH_DATA (push, 32); in nv50_validate_tic() [all …]
|
D | nv50_vbo.c | 169 PUSH_DATA (push, v[0] ? 1 : 0); in nv50_emit_vtxattr() 257 PUSH_DATA (push, address[b] + base + size - 1); in nv50_update_user_vbufs() 260 PUSH_DATA (push, address[b] + ve->src_offset); in nv50_update_user_vbufs() 313 PUSH_DATA (push, vertex->element[i].state); in nv50_vertex_arrays_validate() 315 PUSH_DATA (push, NV50_3D_VERTEX_ATTRIB_INACTIVE); in nv50_vertex_arrays_validate() 318 PUSH_DATA (push, 0); in nv50_vertex_arrays_validate() 328 PUSH_DATA(push, ve->state); in nv50_vertex_arrays_validate() 330 PUSH_DATA(push, ve->state | NV50_3D_VERTEX_ARRAY_ATTRIB_CONST); in nv50_vertex_arrays_validate() 333 PUSH_DATA(push, NV50_3D_VERTEX_ATTRIB_INACTIVE); in nv50_vertex_arrays_validate() 341 PUSH_DATA (push, (vertex->instance_elts >> i) & 1); in nv50_vertex_arrays_validate() [all …]
|