/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() 104 BEGIN_NV04(push, NV01_SUBC(3D, OBJECT), 1); in nv20_hwctx_init() 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() [all …]
|
D | nv10_context.c | 154 BEGIN_NV04(push, NV17_3D(HIERZ_FILL_VALUE), 1); in nv17_zclear() 156 BEGIN_NV04(push, NV17_3D(HIERZ_BUFFER_CLEAR), 1); in nv17_zclear() 208 BEGIN_NV04(push, NV01_SUBC(3D, OBJECT), 1); in nv10_hwctx_init() 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() 221 BEGIN_NV04(push, NV04_GRAPH(3D, NOP), 1); 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() [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 | nv04_surface.c | 219 BEGIN_NV04(push, NV01_SUBC(SURF, OBJECT), 1); in nv04_surface_copy_swizzle() 233 BEGIN_NV04(push, NV04_SSWZ(DMA_IMAGE), 1); in nv04_surface_copy_swizzle() 235 BEGIN_NV04(push, NV04_SSWZ(FORMAT), 2); in nv04_surface_copy_swizzle() 241 BEGIN_NV04(push, NV03_SIFM(DMA_IMAGE), 1); in nv04_surface_copy_swizzle() 243 BEGIN_NV04(push, NV05_SIFM(SURFACE), 1); in nv04_surface_copy_swizzle() 246 BEGIN_NV04(push, NV03_SIFM(COLOR_FORMAT), 8); in nv04_surface_copy_swizzle() 256 BEGIN_NV04(push, NV03_SIFM(SIZE), 4); in nv04_surface_copy_swizzle() 268 BEGIN_NV04(push, NV01_SUBC(SURF, OBJECT), 1); in nv04_surface_copy_swizzle() 297 BEGIN_NV04(push, NV03_M2MF(DMA_BUFFER_IN), 2); in nv04_surface_copy_m2mf() 300 BEGIN_NV04(push, NV03_M2MF(OFFSET_IN), 8); in nv04_surface_copy_m2mf() [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_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 | 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_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 | nv10_state_fb.c | 76 BEGIN_NV04(push, NV17_3D(HIERZ_OFFSET), 1); in setup_hierz_buffer() 79 BEGIN_NV04(push, NV17_3D(HIERZ_WINDOW_X), 4); in setup_hierz_buffer() 85 BEGIN_NV04(push, NV17_3D(HIERZ_PITCH), 1); in setup_hierz_buffer() 88 BEGIN_NV04(push, NV17_3D(HIERZ_ENABLE), 1); in setup_hierz_buffer() 113 BEGIN_NV04(push, NV04_GRAPH(3D, NOP), 1); in nv10_emit_framebuffer() 126 BEGIN_NV04(push, NV10_3D(COLOR_OFFSET), 1); in nv10_emit_framebuffer() 139 BEGIN_NV04(push, NV10_3D(ZETA_OFFSET), 1); 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() [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 | 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_state_fb.c | 70 BEGIN_NV04(push, NV25_3D(HIERZ_PITCH), 1); in setup_hierz_buffer() 72 BEGIN_NV04(push, NV25_3D(HIERZ_OFFSET), 1); in setup_hierz_buffer() 100 BEGIN_NV04(push, NV20_3D(COLOR_OFFSET), 1); in nv20_emit_framebuffer() 113 BEGIN_NV04(push, NV20_3D(ZETA_OFFSET), 1); 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 | nv04_state_fb.c | 72 BEGIN_NV04(push, NV04_SF3D(OFFSET_COLOR), 1); in nv04_emit_framebuffer() 84 BEGIN_NV04(push, NV04_SF3D(OFFSET_ZETA), 1); in nv04_emit_framebuffer() 89 BEGIN_NV04(push, NV04_SF3D(FORMAT), 1); in nv04_emit_framebuffer() 91 BEGIN_NV04(push, NV04_SF3D(PITCH), 1); in nv04_emit_framebuffer() 106 BEGIN_NV04(push, NV04_SF3D(CLIP_HORIZONTAL), 2); in nv04_emit_scissor()
|
/external/mesa3d/src/gallium/drivers/nv50/ |
D | nv50_screen.c | 335 BEGIN_NV04(push, SUBC_M2MF(NV01_SUBCHAN_OBJECT), 1); in nv50_screen_init_hwctx() 337 BEGIN_NV04(push, SUBC_M2MF(NV03_M2MF_DMA_NOTIFY), 3); in nv50_screen_init_hwctx() 342 BEGIN_NV04(push, SUBC_2D(NV01_SUBCHAN_OBJECT), 1); in nv50_screen_init_hwctx() 344 BEGIN_NV04(push, NV50_2D(DMA_NOTIFY), 4); in nv50_screen_init_hwctx() 349 BEGIN_NV04(push, NV50_2D(OPERATION), 1); in nv50_screen_init_hwctx() 351 BEGIN_NV04(push, NV50_2D(CLIP_ENABLE), 1); in nv50_screen_init_hwctx() 353 BEGIN_NV04(push, NV50_2D(COLOR_KEY_ENABLE), 1); in nv50_screen_init_hwctx() 355 BEGIN_NV04(push, SUBC_2D(0x0888), 1); in nv50_screen_init_hwctx() 358 BEGIN_NV04(push, SUBC_3D(NV01_SUBCHAN_OBJECT), 1); in nv50_screen_init_hwctx() 361 BEGIN_NV04(push, NV50_3D(COND_MODE), 1); in nv50_screen_init_hwctx() [all …]
|
D | nv50_shader_state.c | 62 BEGIN_NV04(push, NV50_3D(SET_PROGRAM_CB), 1); in nv50_constbufs_validate() 74 BEGIN_NV04(push, NV50_3D(CB_ADDR), 1); in nv50_constbufs_validate() 91 BEGIN_NV04(push, NV50_3D(CB_DEF_ADDRESS_HIGH), 3); in nv50_constbufs_validate() 96 BEGIN_NV04(push, NV50_3D(SET_PROGRAM_CB), 1); in nv50_constbufs_validate() 101 BEGIN_NV04(push, NV50_3D(SET_PROGRAM_CB), 1); in nv50_constbufs_validate() 156 BEGIN_NV04(push, NV50_3D(VP_ATTR_EN(0)), 2); in nv50_vertprog_validate() 159 BEGIN_NV04(push, NV50_3D(VP_REG_ALLOC_RESULT), 1); in nv50_vertprog_validate() 161 BEGIN_NV04(push, NV50_3D(VP_REG_ALLOC_TEMP), 1); in nv50_vertprog_validate() 163 BEGIN_NV04(push, NV50_3D(VP_START_ID), 1); in nv50_vertprog_validate() 177 BEGIN_NV04(push, NV50_3D(FP_REG_ALLOC_TEMP), 1); in nv50_fragprog_validate() [all …]
|
D | nv50_surface.c | 103 BEGIN_NV04(push, SUBC_2D(mthd), 2); in nv50_2d_texture_set() 106 BEGIN_NV04(push, SUBC_2D(mthd + 0x14), 5); in nv50_2d_texture_set() 113 BEGIN_NV04(push, SUBC_2D(mthd), 5); in nv50_2d_texture_set() 119 BEGIN_NV04(push, SUBC_2D(mthd + 0x18), 4); in nv50_2d_texture_set() 128 BEGIN_NV04(push, SUBC_2D(NV50_2D_CLIP_X), 4); in nv50_2d_texture_set() 171 BEGIN_NV04(push, NV50_2D(BLIT_CONTROL), 1); in nv50_2d_texture_do_copy() 173 BEGIN_NV04(push, NV50_2D(BLIT_DST_X), 4); in nv50_2d_texture_do_copy() 178 BEGIN_NV04(push, NV50_2D(BLIT_DU_DX_FRACT), 4); in nv50_2d_texture_do_copy() 183 BEGIN_NV04(push, NV50_2D(BLIT_SRC_X_FRACT), 4); in nv50_2d_texture_do_copy() 281 BEGIN_NV04(push, NV50_3D(CLEAR_COLOR(0)), 4); in nv50_clear_render_target() [all …]
|
D | nv50_vbo.c | 149 BEGIN_NV04(push, NV50_3D(VTX_ATTR_4F_X(attr)), 4); in nv50_emit_vtxattr() 156 BEGIN_NV04(push, NV50_3D(VTX_ATTR_3F_X(attr)), 3); in nv50_emit_vtxattr() 162 BEGIN_NV04(push, NV50_3D(VTX_ATTR_2F_X(attr)), 2); in nv50_emit_vtxattr() 168 BEGIN_NV04(push, NV50_3D(EDGEFLAG), 1); in nv50_emit_vtxattr() 171 BEGIN_NV04(push, NV50_3D(VTX_ATTR_1F(attr)), 1); in nv50_emit_vtxattr() 255 BEGIN_NV04(push, NV50_3D(VERTEX_ARRAY_LIMIT_HIGH(i)), 2); in nv50_update_user_vbufs() 258 BEGIN_NV04(push, NV50_3D(VERTEX_ARRAY_START_HIGH(i)), 2); in nv50_update_user_vbufs() 309 BEGIN_NV04(push, NV50_3D(VERTEX_ARRAY_ATTRIB(0)), n); in nv50_vertex_arrays_validate() 317 BEGIN_NV04(push, NV50_3D(VERTEX_ARRAY_FETCH(i)), 1); in nv50_vertex_arrays_validate() 340 BEGIN_NV04(push, NV50_3D(VERTEX_ARRAY_PER_INSTANCE(i)), 1); in nv50_vertex_arrays_validate() [all …]
|
D | nv50_state_validate.c | 15 BEGIN_NV04(push, NV50_3D(RT_CONTROL), 1); in nv50_validate_fb() 17 BEGIN_NV04(push, NV50_3D(SCREEN_SCISSOR_HORIZ), 2); in nv50_validate_fb() 26 BEGIN_NV04(push, NV50_3D(RT_ADDRESS_HIGH(i)), 5); in nv50_validate_fb() 33 BEGIN_NV04(push, NV50_3D(RT_HORIZ(i)), 2); in nv50_validate_fb() 36 BEGIN_NV04(push, NV50_3D(RT_ARRAY_MODE), 1); in nv50_validate_fb() 41 BEGIN_NV04(push, NV50_3D(RT_HORIZ(i)), 2); in nv50_validate_fb() 44 BEGIN_NV04(push, NV50_3D(RT_ARRAY_MODE), 1); in nv50_validate_fb() 68 BEGIN_NV04(push, NV50_3D(ZETA_ADDRESS_HIGH), 5); in nv50_validate_fb() 74 BEGIN_NV04(push, NV50_3D(ZETA_ENABLE), 1); in nv50_validate_fb() 76 BEGIN_NV04(push, NV50_3D(ZETA_HORIZ), 3); in nv50_validate_fb() [all …]
|
D | nv50_transfer.c | 75 BEGIN_NV04(push, NV50_M2MF(LINEAR_IN), 6); in nv50_m2mf_transfer_rect() 85 BEGIN_NV04(push, NV50_M2MF(LINEAR_IN), 1); in nv50_m2mf_transfer_rect() 87 BEGIN_NV04(push, SUBC_M2MF(NV03_M2MF_PITCH_IN), 1); in nv50_m2mf_transfer_rect() 92 BEGIN_NV04(push, NV50_M2MF(LINEAR_OUT), 6); in nv50_m2mf_transfer_rect() 102 BEGIN_NV04(push, NV50_M2MF(LINEAR_OUT), 1); in nv50_m2mf_transfer_rect() 104 BEGIN_NV04(push, SUBC_M2MF(NV03_M2MF_PITCH_OUT), 1); in nv50_m2mf_transfer_rect() 111 BEGIN_NV04(push, NV50_M2MF(OFFSET_IN_HIGH), 2); in nv50_m2mf_transfer_rect() 115 BEGIN_NV04(push, SUBC_M2MF(NV03_M2MF_OFFSET_IN), 2); in nv50_m2mf_transfer_rect() 120 BEGIN_NV04(push, NV50_M2MF(TILING_POSITION_IN), 1); in nv50_m2mf_transfer_rect() 126 BEGIN_NV04(push, NV50_M2MF(TILING_POSITION_OUT), 1); in nv50_m2mf_transfer_rect() [all …]
|
D | nv50_tex.c | 212 BEGIN_NV04(push, NV50_3D(BIND_TIC(s)), 1); in nv50_validate_tic() 221 BEGIN_NV04(push, NV50_2D(DST_FORMAT), 2); in nv50_validate_tic() 224 BEGIN_NV04(push, NV50_2D(DST_PITCH), 5); in nv50_validate_tic() 230 BEGIN_NV04(push, NV50_2D(SIFC_BITMAP_ENABLE), 2); in nv50_validate_tic() 233 BEGIN_NV04(push, NV50_2D(SIFC_WIDTH), 10); in nv50_validate_tic() 250 BEGIN_NV04(push, NV50_3D(TEX_CACHE_CTL), 1); in nv50_validate_tic() 261 BEGIN_NV04(push, NV50_3D(BIND_TIC(s)), 1); in nv50_validate_tic() 265 BEGIN_NV04(push, NV50_3D(BIND_TIC(s)), 1); in nv50_validate_tic() 281 BEGIN_NV04(nv50->base.pushbuf, NV50_3D(TIC_FLUSH), 1); in nv50_validate_textures() 297 BEGIN_NV04(push, NV50_3D(BIND_TSC(s)), 1); in nv50_validate_tsc() [all …]
|
/external/mesa3d/src/gallium/drivers/nv30/ |
D | nv30_transfer.c | 92 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_FROM_ID), 1); in nv30_transfer_rect_vertprog() 94 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_INST(0)), 4); in nv30_transfer_rect_vertprog() 99 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_INST(0)), 4); in nv30_transfer_rect_vertprog() 197 BEGIN_NV04(push, NV30_3D(VIEWPORT_HORIZ), 2); in nv30_transfer_rect_blit() 200 BEGIN_NV04(push, NV30_3D(RT_HORIZ), 5); in nv30_transfer_rect_blit() 206 BEGIN_NV04(push, NV30_3D(RT_ENABLE), 1); in nv30_transfer_rect_blit() 212 BEGIN_NV04(push, NV30_3D(VIEWPORT_TRANSLATE_X), 8); in nv30_transfer_rect_blit() 221 BEGIN_NV04(push, NV30_3D(DEPTH_RANGE_NEAR), 2); in nv30_transfer_rect_blit() 228 BEGIN_NV04(push, NV30_3D(COLOR_LOGIC_OP_ENABLE), 1); in nv30_transfer_rect_blit() 230 BEGIN_NV04(push, NV30_3D(DITHER_ENABLE), 1); in nv30_transfer_rect_blit() [all …]
|
D | nv30_state_validate.c | 104 BEGIN_NV04(push, SUBC_3D(0x1da4), 1); in nv30_validate_fb() 106 BEGIN_NV04(push, NV30_3D(RT_HORIZ), 3); in nv30_validate_fb() 110 BEGIN_NV04(push, NV30_3D(VIEWPORT_HORIZ), 2); in nv30_validate_fb() 113 BEGIN_NV04(push, NV30_3D(VIEWPORT_TX_ORIGIN), 4); in nv30_validate_fb() 130 BEGIN_NV04(push, NV40_3D(ZETA_PITCH), 1); in nv30_validate_fb() 132 BEGIN_NV04(push, NV40_3D(COLOR0_PITCH), 3); in nv30_validate_fb() 135 BEGIN_NV04(push, NV30_3D(COLOR0_PITCH), 3); in nv30_validate_fb() 148 BEGIN_NV04(push, NV30_3D(COLOR1_OFFSET), 2); in nv30_validate_fb() 158 BEGIN_NV04(push, NV40_3D(COLOR2_OFFSET), 1); in nv30_validate_fb() 161 BEGIN_NV04(push, NV40_3D(COLOR2_PITCH), 1); in nv30_validate_fb() [all …]
|
D | nv30_screen.c | 277 BEGIN_NV04(push, NV30_3D(FENCE_OFFSET), 2); in nv30_screen_fence_emit() 458 BEGIN_NV04(push, NV01_SUBC(3D, OBJECT), 1); in nv30_screen_create() 460 BEGIN_NV04(push, NV30_3D(DMA_NOTIFY), 13); in nv30_screen_create() 475 BEGIN_NV04(push, SUBC_3D(0x03b0), 1); in nv30_screen_create() 477 BEGIN_NV04(push, SUBC_3D(0x1d80), 1); in nv30_screen_create() 480 BEGIN_NV04(push, SUBC_3D(0x1e98), 1); in nv30_screen_create() 482 BEGIN_NV04(push, SUBC_3D(0x17e0), 3); in nv30_screen_create() 486 BEGIN_NV04(push, SUBC_3D(0x1f80), 16); in nv30_screen_create() 490 BEGIN_NV04(push, NV30_3D(RC_ENABLE), 1); in nv30_screen_create() 493 BEGIN_NV04(push, NV40_3D(DMA_COLOR2), 2); in nv30_screen_create() [all …]
|
D | nv30_clear.c | 82 BEGIN_NV04(push, NV30_3D(CLEAR_DEPTH_VALUE), 3); in nv30_clear() 88 BEGIN_NV04(push, NV30_3D(CLEAR_DEPTH_VALUE), 3); in nv30_clear() 129 BEGIN_NV04(push, NV30_3D(RT_ENABLE), 1); in nv30_clear_render_target() 131 BEGIN_NV04(push, NV30_3D(RT_HORIZ), 3); in nv30_clear_render_target() 135 BEGIN_NV04(push, NV30_3D(COLOR0_PITCH), 2); in nv30_clear_render_target() 141 BEGIN_NV04(push, NV30_3D(SCISSOR_HORIZ), 2); in nv30_clear_render_target() 145 BEGIN_NV04(push, NV30_3D(CLEAR_COLOR_VALUE), 2); in nv30_clear_render_target() 193 BEGIN_NV04(push, NV30_3D(RT_ENABLE), 1); in nv30_clear_depth_stencil() 195 BEGIN_NV04(push, NV30_3D(RT_HORIZ), 3); in nv30_clear_depth_stencil() 200 BEGIN_NV04(push, NV30_3D(COLOR0_PITCH), 1); in nv30_clear_depth_stencil() [all …]
|
D | nv30_vbo.c | 53 BEGIN_NV04(push, NV30_3D(VTX_ATTR_4F(attr)), 4); in nv30_emit_vtxattr() 60 BEGIN_NV04(push, NV30_3D(VTX_ATTR_3F(attr)), 3); in nv30_emit_vtxattr() 66 BEGIN_NV04(push, NV30_3D(VTX_ATTR_2F(attr)), 2); in nv30_emit_vtxattr() 71 BEGIN_NV04(push, NV30_3D(VTX_ATTR_1F(attr)), 1); in nv30_emit_vtxattr() 156 BEGIN_NV04(push, NV30_3D(VTXBUF(i)), 1); in nv30_update_user_vbufs() 203 BEGIN_NV04(push, NV30_3D(VTXFMT(0)), redefine); in nv30_vbo_validate() 238 BEGIN_NV04(push, NV30_3D(VTXBUF(i)), 1); in nv30_vbo_validate() 337 BEGIN_NV04(push, NV30_3D(VERTEX_BEGIN_END), 1); in nv30_draw_arrays() 356 BEGIN_NV04(push, NV30_3D(VERTEX_BEGIN_END), 1); in nv30_draw_arrays() 367 BEGIN_NV04(push, NV30_3D(VB_ELEMENT_U32), 1); in nv30_draw_elements_inline_u08() [all …]
|