/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv10_context.c | 210 BEGIN_NV04(push, NV10_3D(DMA_NOTIFY), 1); in nv10_hwctx_init() 213 BEGIN_NV04(push, NV10_3D(DMA_TEXTURE0), 3); in nv10_hwctx_init() 217 BEGIN_NV04(push, NV10_3D(DMA_COLOR), 2); in nv10_hwctx_init() 224 BEGIN_NV04(push, NV10_3D(RT_HORIZ), 2); in nv10_hwctx_init() 228 BEGIN_NV04(push, NV10_3D(VIEWPORT_CLIP_HORIZ(0)), 1); in nv10_hwctx_init() 230 BEGIN_NV04(push, NV10_3D(VIEWPORT_CLIP_VERT(0)), 1); in nv10_hwctx_init() 234 BEGIN_NV04(push, NV10_3D(VIEWPORT_CLIP_HORIZ(i)), 1); in nv10_hwctx_init() 236 BEGIN_NV04(push, NV10_3D(VIEWPORT_CLIP_VERT(i)), 1); in nv10_hwctx_init() 274 BEGIN_NV04(push, NV10_3D(FOG_ENABLE), 1); in nv10_hwctx_init() 276 BEGIN_NV04(push, NV10_3D(ALPHA_FUNC_ENABLE), 1); in nv10_hwctx_init() [all …]
|
D | nv10_state_raster.c | 39 BEGIN_NV04(push, NV10_3D(ALPHA_FUNC_ENABLE), 1); in nv10_emit_alpha_func() 42 BEGIN_NV04(push, NV10_3D(ALPHA_FUNC_FUNC), 2); in nv10_emit_alpha_func() 52 BEGIN_NV04(push, NV10_3D(BLEND_COLOR), 1); in nv10_emit_blend_color() 64 BEGIN_NV04(push, NV10_3D(BLEND_FUNC_ENABLE), 1); in nv10_emit_blend_equation() 67 BEGIN_NV04(push, NV10_3D(BLEND_EQUATION), 1); in nv10_emit_blend_equation() 76 BEGIN_NV04(push, NV10_3D(BLEND_FUNC_SRC), 2); in nv10_emit_blend_func() 86 BEGIN_NV04(push, NV10_3D(COLOR_MASK), 1); in nv10_emit_color_mask() 98 BEGIN_NV04(push, NV10_3D(DEPTH_TEST_ENABLE), 1); in nv10_emit_depth() 100 BEGIN_NV04(push, NV10_3D(DEPTH_WRITE_ENABLE), 1); in nv10_emit_depth() 102 BEGIN_NV04(push, NV10_3D(DEPTH_FUNC), 1); in nv10_emit_depth() [all …]
|
D | nv10_state_polygon.c | 40 BEGIN_NV04(push, NV10_3D(CULL_FACE_ENABLE), 1); in nv10_emit_cull_face() 43 BEGIN_NV04(push, NV10_3D(CULL_FACE), 1); in nv10_emit_cull_face() 54 BEGIN_NV04(push, NV10_3D(FRONT_FACE), 1); in nv10_emit_front_face() 66 BEGIN_NV04(push, NV10_3D(LINE_WIDTH), 1); in nv10_emit_line_mode() 69 BEGIN_NV04(push, NV10_3D(LINE_SMOOTH_ENABLE), 1); in nv10_emit_line_mode() 83 BEGIN_NV04(push, NV10_3D(POINT_SIZE), 1); in nv10_emit_point_mode() 86 BEGIN_NV04(push, NV10_3D(POINT_SMOOTH_ENABLE), 1); in nv10_emit_point_mode() 95 BEGIN_NV04(push, NV10_3D(POLYGON_MODE_FRONT), 2); in nv10_emit_polygon_mode() 99 BEGIN_NV04(push, NV10_3D(POLYGON_SMOOTH_ENABLE), 1); in nv10_emit_polygon_mode() 108 BEGIN_NV04(push, NV10_3D(POLYGON_OFFSET_POINT_ENABLE), 3); in nv10_emit_polygon_offset() [all …]
|
D | nv10_state_tex.c | 51 BEGIN_NV04(push, NV10_3D(TEX_GEN_COEFF(i, j)), 4); in nv10_emit_tex_gen() 55 BEGIN_NV04(push, NV10_3D(TEX_GEN_MODE(i,j)), 1); in nv10_emit_tex_gen() 59 BEGIN_NV04(push, NV10_3D(TEX_GEN_MODE(i,j)), 1); in nv10_emit_tex_gen() 77 BEGIN_NV04(push, NV10_3D(TEX_MATRIX_ENABLE(i)), 1); in nv10_emit_tex_mat() 80 BEGIN_NV04(push, NV10_3D(TEX_MATRIX(i, 0)), 16); in nv10_emit_tex_mat() 84 BEGIN_NV04(push, NV10_3D(TEX_MATRIX_ENABLE(i)), 1); in nv10_emit_tex_mat() 169 BEGIN_NV04(push, NV10_3D(TEX_ENABLE(i)), 1); in nv10_emit_tex_obj() 196 BEGIN_NV04(push, NV10_3D(TEX_NPOT_PITCH(i)), 1); in nv10_emit_tex_obj() 198 BEGIN_NV04(push, NV10_3D(TEX_NPOT_SIZE(i)), 1); in nv10_emit_tex_obj() 224 BEGIN_NV04(push, NV10_3D(TEX_FORMAT(i)), 1); in nv10_emit_tex_obj() [all …]
|
D | nv10_state_tnl.c | 62 BEGIN_NV04(push, NV10_3D(COLOR_MATERIAL), 1); in nv10_emit_color_material() 143 BEGIN_NV04(push, NV10_3D(FOG_MODE), 4); in nv10_emit_fog() 149 BEGIN_NV04(push, NV10_3D(FOG_COEFF(0)), 3); in nv10_emit_fog() 179 BEGIN_NV04(push, NV10_3D(LIGHTING_ENABLE), 1); in nv10_emit_light_enable() 187 BEGIN_NV04(push, NV10_3D(ENABLED_LIGHTS), 1); in nv10_emit_light_enable() 189 BEGIN_NV04(push, NV10_3D(LIGHTING_ENABLE), 1); in nv10_emit_light_enable() 191 BEGIN_NV04(push, NV10_3D(NORMALIZE_ENABLE), 1); in nv10_emit_light_enable() 201 BEGIN_NV04(push, NV10_3D(SEPARATE_SPECULAR_ENABLE), 1); in nv10_emit_light_model() 204 BEGIN_NV04(push, NV10_3D(LIGHT_MODEL), 1); in nv10_emit_light_model() 288 BEGIN_NV04(push, NV10_3D(LIGHT_POSITION_X(i)), 3); in nv10_emit_light_source() [all …]
|
D | nv10_render.c | 130 BEGIN_NV04(push, NV10_3D(VTXBUF_FMT(i)), 1); in nv10_render_set_format() 145 BEGIN_NV04(push, NV10_3D(VTXBUF_OFFSET(i)), 1); in nv10_render_bind_vertices() 146 PUSH_MTHDl(push, NV10_3D(VTXBUF_OFFSET(i)), BUFCTX_VTX, in nv10_render_bind_vertices() 162 BEGIN_NV04(push, NV10_3D(VTXBUF_VALIDATE), 1); \ 166 BEGIN_NV04(push, NV10_3D(VTXBUF_BEGIN_END), 1); \ 169 BEGIN_NV04(push, NV10_3D(VTXBUF_BEGIN_END), 1); \ 176 BEGIN_NI04(push, NV10_3D(VTXBUF_BATCH), n) 182 BEGIN_NI04(push, NV10_3D(VTXBUF_ELEMENT_U16), n) 188 BEGIN_NI04(push, NV10_3D(VTXBUF_ELEMENT_U32), n)
|
D | nv10_state_fb.c | 126 BEGIN_NV04(push, NV10_3D(COLOR_OFFSET), 1); in nv10_emit_framebuffer() 127 PUSH_MTHDl(push, NV10_3D(COLOR_OFFSET), BUFCTX_FB, in nv10_emit_framebuffer() 139 BEGIN_NV04(push, NV10_3D(ZETA_OFFSET), 1); in nv10_emit_framebuffer() 140 PUSH_MTHDl(push, NV10_3D(ZETA_OFFSET), BUFCTX_FB, in nv10_emit_framebuffer() 149 BEGIN_NV04(push, NV10_3D(RT_FORMAT), 2); in nv10_emit_framebuffer() 170 BEGIN_NV04(push, NV10_3D(RT_HORIZ), 2); in nv10_emit_scissor() 189 BEGIN_NV04(push, NV10_3D(VIEWPORT_TRANSLATE_X), 4); in nv10_emit_viewport() 192 BEGIN_NV04(push, NV10_3D(VIEWPORT_CLIP_HORIZ(0)), 1); in nv10_emit_viewport() 194 BEGIN_NV04(push, NV10_3D(VIEWPORT_CLIP_VERT(0)), 1); in nv10_emit_viewport() 214 BEGIN_NV04(push, NV10_3D(DEPTH_RANGE_NEAR), 2); in nv10_emit_zclear()
|
D | nv10_state_frag.c | 385 BEGIN_NV04(push, NV10_3D(RC_IN_ALPHA(i)), 1); in nv10_emit_tex_env() 387 BEGIN_NV04(push, NV10_3D(RC_IN_RGB(i)), 1); in nv10_emit_tex_env() 389 BEGIN_NV04(push, NV10_3D(RC_COLOR(i)), 1); in nv10_emit_tex_env() 391 BEGIN_NV04(push, NV10_3D(RC_OUT_ALPHA(i)), 1); in nv10_emit_tex_env() 393 BEGIN_NV04(push, NV10_3D(RC_OUT_RGB(i)), 1); in nv10_emit_tex_env() 408 BEGIN_NV04(push, NV10_3D(RC_FINAL0), 2); in nv10_emit_frag()
|
D | nouveau_local.h | 180 #define NV10_3D(mthd) SUBC_3D(NV10_3D_##mthd) macro
|