/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 | 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 | 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 | 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_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 …]
|
/external/chromium_org/third_party/mesa/src/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 | 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 | 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 | 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 …]
|
/external/chromium_org/third_party/mesa/src/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 …]
|
/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 …]
|
/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_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_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 …]
|
/external/chromium_org/third_party/mesa/src/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_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_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 …]
|