/third_party/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv20_context.c | 68 BEGIN_NV04(push, NV20_3D(CLEAR_VALUE), 1); in nv20_clear() 83 BEGIN_NV04(push, NV20_3D(CLEAR_DEPTH_VALUE), 1); in nv20_clear() 90 BEGIN_NV04(push, NV20_3D(CLEAR_BUFFERS), 1); in nv20_clear() 107 BEGIN_NV04(push, NV20_3D(DMA_NOTIFY), 1); in nv20_hwctx_init() 109 BEGIN_NV04(push, NV20_3D(DMA_TEXTURE0), 2); in nv20_hwctx_init() 112 BEGIN_NV04(push, NV20_3D(DMA_COLOR), 2); in nv20_hwctx_init() 115 BEGIN_NV04(push, NV20_3D(DMA_VTXBUF0), 2); in nv20_hwctx_init() 119 BEGIN_NV04(push, NV20_3D(DMA_QUERY), 1); in nv20_hwctx_init() 122 BEGIN_NV04(push, NV20_3D(RT_HORIZ), 2); in nv20_hwctx_init() 126 BEGIN_NV04(push, NV20_3D(VIEWPORT_CLIP_HORIZ(0)), 1); in nv20_hwctx_init() [all …]
|
D | nv20_state_tex.c | 52 BEGIN_NV04(push, NV20_3D(TEX_GEN_COEFF(i, j)), 4); in nv20_emit_tex_gen() 56 BEGIN_NV04(push, NV20_3D(TEX_GEN_MODE(i, j)), 1); in nv20_emit_tex_gen() 60 BEGIN_NV04(push, NV20_3D(TEX_GEN_MODE(i, j)), 1); in nv20_emit_tex_gen() 75 BEGIN_NV04(push, NV20_3D(TEX_MATRIX_ENABLE(i)), 1); in nv20_emit_tex_mat() 78 BEGIN_NV04(push, NV20_3D(TEX_MATRIX(i,0)), 16); in nv20_emit_tex_mat() 82 BEGIN_NV04(push, NV20_3D(TEX_MATRIX_ENABLE(i)), 1); in nv20_emit_tex_mat() 175 BEGIN_NV04(push, NV20_3D(TEX_ENABLE(i)), 1); in nv20_emit_tex_obj() 243 BEGIN_NV04(push, NV20_3D(TEX_NPOT_PITCH(i)), 1); in nv20_emit_tex_obj() 245 BEGIN_NV04(push, NV20_3D(TEX_NPOT_SIZE(i)), 1); in nv20_emit_tex_obj() 271 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() 143 BEGIN_NV04(push, NV20_3D(VIEWPORT_TRANSLATE_X), 4); in nv20_emit_viewport() 146 BEGIN_NV04(push, NV20_3D(VIEWPORT_CLIP_HORIZ(0)), 1); in nv20_emit_viewport() 148 BEGIN_NV04(push, NV20_3D(VIEWPORT_CLIP_VERT(0)), 1); in nv20_emit_viewport()
|
D | nv20_state_tnl.c | 95 BEGIN_NV04(push, NV20_3D(COLOR_MATERIAL), 1); in nv20_emit_color_material() 163 BEGIN_NV04(push, NV20_3D(FOG_MODE), 4); in nv20_emit_fog() 172 BEGIN_NV04(push, NV20_3D(FOG_COEFF(0)), 3); in nv20_emit_fog() 182 BEGIN_NV04(push, NV20_3D(SEPARATE_SPECULAR_ENABLE), 1); in nv20_emit_light_model() 185 BEGIN_NV04(push, NV20_3D(LIGHT_MODEL), 1); in nv20_emit_light_model() 193 BEGIN_NV04(push, NV20_3D(LIGHT_MODEL_TWO_SIDE_ENABLE), 1); in nv20_emit_light_model() 206 BEGIN_NV04(push, NV20_3D(LIGHT_POSITION_X(i)), 3); in nv20_emit_light_source() 209 BEGIN_NV04(push, NV20_3D(LIGHT_ATTENUATION_CONSTANT(i)), 3); in nv20_emit_light_source() 215 BEGIN_NV04(push, NV20_3D(LIGHT_DIRECTION_X(i)), 3); in nv20_emit_light_source() 218 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
|