/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv20_context.c | 67 BEGIN_NV04(push, NV20_3D(CLEAR_VALUE), 1); in nv20_clear() 82 BEGIN_NV04(push, NV20_3D(CLEAR_DEPTH_VALUE), 1); in nv20_clear() 89 BEGIN_NV04(push, NV20_3D(CLEAR_BUFFERS), 1); in nv20_clear() 106 BEGIN_NV04(push, NV20_3D(DMA_NOTIFY), 1); in nv20_hwctx_init() 108 BEGIN_NV04(push, NV20_3D(DMA_TEXTURE0), 2); in nv20_hwctx_init() 111 BEGIN_NV04(push, NV20_3D(DMA_COLOR), 2); in nv20_hwctx_init() 114 BEGIN_NV04(push, NV20_3D(DMA_VTXBUF0), 2); in nv20_hwctx_init() 118 BEGIN_NV04(push, NV20_3D(DMA_QUERY), 1); in nv20_hwctx_init() 121 BEGIN_NV04(push, NV20_3D(RT_HORIZ), 2); in nv20_hwctx_init() 125 BEGIN_NV04(push, NV20_3D(VIEWPORT_CLIP_HORIZ(0)), 1); in nv20_hwctx_init() [all …]
|
D | nv20_state_tex.c | 51 BEGIN_NV04(push, NV20_3D(TEX_GEN_COEFF(i, j)), 4); in nv20_emit_tex_gen() 55 BEGIN_NV04(push, NV20_3D(TEX_GEN_MODE(i, j)), 1); in nv20_emit_tex_gen() 59 BEGIN_NV04(push, NV20_3D(TEX_GEN_MODE(i, j)), 1); in nv20_emit_tex_gen() 74 BEGIN_NV04(push, NV20_3D(TEX_MATRIX_ENABLE(i)), 1); in nv20_emit_tex_mat() 77 BEGIN_NV04(push, NV20_3D(TEX_MATRIX(i,0)), 16); in nv20_emit_tex_mat() 81 BEGIN_NV04(push, NV20_3D(TEX_MATRIX_ENABLE(i)), 1); in nv20_emit_tex_mat() 173 BEGIN_NV04(push, NV20_3D(TEX_ENABLE(i)), 1); in nv20_emit_tex_obj() 208 BEGIN_NV04(push, NV20_3D(TEX_NPOT_PITCH(i)), 1); in nv20_emit_tex_obj() 210 BEGIN_NV04(push, NV20_3D(TEX_NPOT_SIZE(i)), 1); in nv20_emit_tex_obj() 236 BEGIN_NV04(push, NV20_3D(TEX_FORMAT(i)), 1); in nv20_emit_tex_obj() [all …]
|
D | nv20_state_frag.c | 42 BEGIN_NV04(push, NV20_3D(RC_IN_ALPHA(i)), 1); in nv20_emit_tex_env() 44 BEGIN_NV04(push, NV20_3D(RC_OUT_ALPHA(i)), 1); in nv20_emit_tex_env() 46 BEGIN_NV04(push, NV20_3D(RC_IN_RGB(i)), 1); in nv20_emit_tex_env() 48 BEGIN_NV04(push, NV20_3D(RC_OUT_RGB(i)), 1); in nv20_emit_tex_env() 50 BEGIN_NV04(push, NV20_3D(RC_CONSTANT_COLOR0(i)), 1); in nv20_emit_tex_env() 65 BEGIN_NV04(push, NV20_3D(RC_FINAL0), 2); in nv20_emit_frag() 69 BEGIN_NV04(push, NV20_3D(RC_ENABLE), 1); in nv20_emit_frag()
|
D | nv20_render.c | 152 BEGIN_NV04(push, NV20_3D(VTXBUF_FMT(i)), 1); in nv20_render_set_format() 167 BEGIN_NV04(push, NV20_3D(VTXBUF_OFFSET(i)), 1); in nv20_render_bind_vertices() 168 PUSH_MTHD (push, NV20_3D(VTXBUF_OFFSET(i)), BUFCTX_VTX, in nv20_render_bind_vertices() 186 BEGIN_NV04(push, NV20_3D(VTXBUF_VALIDATE), 1); \ 190 BEGIN_NV04(push, NV20_3D(VERTEX_BEGIN_END), 1); \ 193 BEGIN_NV04(push, NV20_3D(VERTEX_BEGIN_END), 1); \ 200 BEGIN_NI04(push, NV20_3D(VTXBUF_BATCH), n) 206 BEGIN_NI04(push, NV20_3D(VTXBUF_ELEMENT_U16), n) 212 BEGIN_NI04(push, NV20_3D(VTXBUF_ELEMENT_U32), n)
|
D | nv20_state_fb.c | 100 BEGIN_NV04(push, NV20_3D(COLOR_OFFSET), 1); in nv20_emit_framebuffer() 101 PUSH_MTHDl(push, NV20_3D(COLOR_OFFSET), BUFCTX_FB, in nv20_emit_framebuffer() 113 BEGIN_NV04(push, NV20_3D(ZETA_OFFSET), 1); in nv20_emit_framebuffer() 114 PUSH_MTHDl(push, NV20_3D(ZETA_OFFSET), BUFCTX_FB, in nv20_emit_framebuffer() 124 BEGIN_NV04(push, NV20_3D(RT_FORMAT), 2); in nv20_emit_framebuffer() 142 BEGIN_NV04(push, NV20_3D(VIEWPORT_TRANSLATE_X), 4); in nv20_emit_viewport() 145 BEGIN_NV04(push, NV20_3D(VIEWPORT_CLIP_HORIZ(0)), 1); in nv20_emit_viewport() 147 BEGIN_NV04(push, NV20_3D(VIEWPORT_CLIP_VERT(0)), 1); in nv20_emit_viewport()
|
D | nv20_state_tnl.c | 94 BEGIN_NV04(push, NV20_3D(COLOR_MATERIAL), 1); in nv20_emit_color_material() 162 BEGIN_NV04(push, NV20_3D(FOG_MODE), 4); in nv20_emit_fog() 171 BEGIN_NV04(push, NV20_3D(FOG_COEFF(0)), 3); in nv20_emit_fog() 181 BEGIN_NV04(push, NV20_3D(SEPARATE_SPECULAR_ENABLE), 1); in nv20_emit_light_model() 184 BEGIN_NV04(push, NV20_3D(LIGHT_MODEL), 1); in nv20_emit_light_model() 192 BEGIN_NV04(push, NV20_3D(LIGHT_MODEL_TWO_SIDE_ENABLE), 1); in nv20_emit_light_model() 204 BEGIN_NV04(push, NV20_3D(LIGHT_POSITION_X(i)), 3); in nv20_emit_light_source() 207 BEGIN_NV04(push, NV20_3D(LIGHT_ATTENUATION_CONSTANT(i)), 3); in nv20_emit_light_source() 213 BEGIN_NV04(push, NV20_3D(LIGHT_DIRECTION_X(i)), 3); in nv20_emit_light_source() 216 BEGIN_NV04(push, NV20_3D(LIGHT_HALF_VECTOR_X(i)), 3); in nv20_emit_light_source() [all …]
|
D | nv20_state_raster.c | 39 BEGIN_NV04(push, NV20_3D(COLOR_LOGIC_OP_ENABLE), 2); in nv20_emit_logic_opcode()
|
D | nv20_state_polygon.c | 38 BEGIN_NV04(push, NV20_3D(POINT_SIZE), 1); in nv20_emit_point_mode()
|
D | nouveau_local.h | 183 #define NV20_3D(mthd) SUBC_3D(NV20_3D_##mthd) macro
|