Home
last modified time | relevance | path

Searched refs:BEGIN_NVC0 (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_screen.c296 BEGIN_NVC0(push, SUBC_3D(NVC0_GRAPH_MACRO_ID), 2); in nvc0_graph_set_macro()
309 BEGIN_NVC0(push, SUBC_3D(0x10cc), 1); in nvc0_magic_3d_init()
311 BEGIN_NVC0(push, SUBC_3D(0x10e0), 2); in nvc0_magic_3d_init()
314 BEGIN_NVC0(push, SUBC_3D(0x10ec), 2); in nvc0_magic_3d_init()
317 BEGIN_NVC0(push, SUBC_3D(0x074c), 1); in nvc0_magic_3d_init()
320 BEGIN_NVC0(push, SUBC_3D(0x16a8), 1); in nvc0_magic_3d_init()
322 BEGIN_NVC0(push, SUBC_3D(0x1794), 1); in nvc0_magic_3d_init()
324 BEGIN_NVC0(push, SUBC_3D(0x0de8), 1); in nvc0_magic_3d_init()
327 BEGIN_NVC0(push, SUBC_3D(0x12ac), 1); in nvc0_magic_3d_init()
329 BEGIN_NVC0(push, SUBC_3D(0x0218), 1); in nvc0_magic_3d_init()
[all …]
Dnvc0_shader_state.c48 BEGIN_NVC0(push, NVC0_3D(CB_SIZE), 3); in nvc0_program_update_context_state()
53 BEGIN_NVC0(push, NVC0_3D(CB_BIND(stage)), 1); in nvc0_program_update_context_state()
59 BEGIN_NVC0(push, NVC0_3D(CB_BIND(stage)), 1); in nvc0_program_update_context_state()
94 BEGIN_NVC0(push, NVC0_3D(SP_SELECT(1)), 2); in nvc0_vertprog_validate()
97 BEGIN_NVC0(push, NVC0_3D(SP_GPR_ALLOC(1)), 1); in nvc0_vertprog_validate()
119 BEGIN_NVC0(push, NVC0_3D(SP_SELECT(5)), 2); in nvc0_fragprog_validate()
122 BEGIN_NVC0(push, NVC0_3D(SP_GPR_ALLOC(5)), 1); in nvc0_fragprog_validate()
125 BEGIN_NVC0(push, SUBC_3D(0x0360), 2); in nvc0_fragprog_validate()
128 BEGIN_NVC0(push, NVC0_3D(ZCULL_TEST_MASK), 1); in nvc0_fragprog_validate()
140 BEGIN_NVC0(push, NVC0_3D(TESS_MODE), 1); in nvc0_tctlprog_validate()
[all …]
Dnvc0_state_validate.c29 BEGIN_NVC0(push, NVC0_3D(ZCULL_REGION), 1); in nvc0_validate_zcull()
31 BEGIN_NVC0(push, NVC0_3D(ZCULL_ADDRESS_HIGH), 2); in nvc0_validate_zcull()
35 BEGIN_NVC0(push, NVC0_3D(ZCULL_LIMIT_HIGH), 2); in nvc0_validate_zcull()
38 BEGIN_NVC0(push, SUBC_3D(0x07e0), 2); in nvc0_validate_zcull()
41 BEGIN_NVC0(push, SUBC_3D(0x15c8), 1); /* bits 0x3 */ in nvc0_validate_zcull()
43 BEGIN_NVC0(push, NVC0_3D(ZCULL_WIDTH), 4); in nvc0_validate_zcull()
48 BEGIN_NVC0(push, NVC0_3D(ZCULL_WINDOW_OFFSET_X), 2); in nvc0_validate_zcull()
51 BEGIN_NVC0(push, NVC0_3D(ZCULL_INVALIDATE), 1); in nvc0_validate_zcull()
66 BEGIN_NVC0(push, NVC0_3D(RT_CONTROL), 1); in nvc0_validate_fb()
68 BEGIN_NVC0(push, NVC0_3D(SCREEN_SCISSOR_HORIZ), 2); in nvc0_validate_fb()
[all …]
Dnvc0_transfer.c40 BEGIN_NVC0(push, NVC0_M2MF(TILING_MODE_IN), 5); in nvc0_m2mf_transfer_rect()
49 BEGIN_NVC0(push, NVC0_M2MF(PITCH_IN), 1); in nvc0_m2mf_transfer_rect()
56 BEGIN_NVC0(push, NVC0_M2MF(TILING_MODE_OUT), 5); in nvc0_m2mf_transfer_rect()
65 BEGIN_NVC0(push, NVC0_M2MF(PITCH_OUT), 1); in nvc0_m2mf_transfer_rect()
74 BEGIN_NVC0(push, NVC0_M2MF(OFFSET_IN_HIGH), 2); in nvc0_m2mf_transfer_rect()
78 BEGIN_NVC0(push, NVC0_M2MF(OFFSET_OUT_HIGH), 2); in nvc0_m2mf_transfer_rect()
83 BEGIN_NVC0(push, NVC0_M2MF(TILING_POSITION_IN_X), 2); in nvc0_m2mf_transfer_rect()
90 BEGIN_NVC0(push, NVC0_M2MF(TILING_POSITION_OUT_X), 2); in nvc0_m2mf_transfer_rect()
97 BEGIN_NVC0(push, NVC0_M2MF(LINE_LENGTH_IN), 2); in nvc0_m2mf_transfer_rect()
100 BEGIN_NVC0(push, NVC0_M2MF(EXEC), 1); in nvc0_m2mf_transfer_rect()
[all …]
Dnvc0_surface.c110 BEGIN_NVC0(push, SUBC_2D(mthd), 2); in nvc0_2d_texture_set()
113 BEGIN_NVC0(push, SUBC_2D(mthd + 0x14), 5); in nvc0_2d_texture_set()
120 BEGIN_NVC0(push, SUBC_2D(mthd), 5); in nvc0_2d_texture_set()
126 BEGIN_NVC0(push, SUBC_2D(mthd + 0x18), 4); in nvc0_2d_texture_set()
135 BEGIN_NVC0(push, SUBC_2D(NVC0_2D_CLIP_X), 4); in nvc0_2d_texture_set()
178 BEGIN_NVC0(push, NVC0_2D(BLIT_CONTROL), 1); in nvc0_2d_texture_do_copy()
180 BEGIN_NVC0(push, NVC0_2D(BLIT_DST_X), 4); in nvc0_2d_texture_do_copy()
185 BEGIN_NVC0(push, NVC0_2D(BLIT_DU_DX_FRACT), 4); in nvc0_2d_texture_do_copy()
190 BEGIN_NVC0(push, NVC0_2D(BLIT_SRC_X_FRACT), 4); in nvc0_2d_texture_do_copy()
287 BEGIN_NVC0(push, NVC0_3D(CLEAR_COLOR(0)), 4); in nvc0_clear_render_target()
[all …]
Dnvc0_vbo.c180 BEGIN_NVC0(push, NVC0_3D(VTX_ATTR_DEFINE), 5); in nvc0_set_constant_vertex_attrib()
331 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_DIVISOR(i)), 1); in nvc0_validate_vertex_buffers()
334 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_FETCH(i)), 1); in nvc0_validate_vertex_buffers()
345 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_FETCH(i)), 4); in nvc0_validate_vertex_buffers()
351 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_FETCH(i)), 3); in nvc0_validate_vertex_buffers()
356 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_LIMIT_HIGH(i)), 2); in nvc0_validate_vertex_buffers()
384 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_FETCH(b)), 1); in nvc0_validate_vertex_buffers_shared()
394 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_FETCH(b)), 3); in nvc0_validate_vertex_buffers_shared()
398 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_LIMIT_HIGH(b)), 2); in nvc0_validate_vertex_buffers_shared()
446 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_PER_INSTANCE(0)), 2); in nvc0_vertex_arrays_validate()
[all …]
Dnvc0_vbo_translate.c190 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_START_HIGH(0)), 2); in nvc0_push_setup_vertex_array()
193 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_LIMIT_HIGH(0)), 2); in nvc0_push_setup_vertex_array()
230 BEGIN_NVC0(push, NVC0_3D(VERTEX_BUFFER_FIRST), 2); in disp_vertices_i08()
238 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1); in disp_vertices_i08()
250 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1); in disp_vertices_i08()
286 BEGIN_NVC0(push, NVC0_3D(VERTEX_BUFFER_FIRST), 2); in disp_vertices_i16()
294 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1); in disp_vertices_i16()
306 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1); in disp_vertices_i16()
342 BEGIN_NVC0(push, NVC0_3D(VERTEX_BUFFER_FIRST), 2); in disp_vertices_i32()
350 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1); in disp_vertices_i32()
[all …]
Dnvc0_tex.c235 BEGIN_NVC0(push, NVC0_M2MF(OFFSET_OUT_HIGH), 2); in nvc0_validate_tic()
238 BEGIN_NVC0(push, NVC0_M2MF(LINE_LENGTH_IN), 2); in nvc0_validate_tic()
241 BEGIN_NVC0(push, NVC0_M2MF(EXEC), 1); in nvc0_validate_tic()
249 BEGIN_NVC0(push, NVC0_3D(TEX_CACHE_CTL), 1); in nvc0_validate_tic()
300 BEGIN_NVC0(push, NVE4_P2MF(DST_ADDRESS_HIGH), 2); in nve4_validate_tic()
303 BEGIN_NVC0(push, NVE4_P2MF(LINE_LENGTH_IN), 2); in nve4_validate_tic()
313 BEGIN_NVC0(push, NVC0_3D(TEX_CACHE_CTL), 1); in nve4_validate_tic()
349 BEGIN_NVC0(nvc0->base.pushbuf, NVC0_3D(TIC_FLUSH), 1); in nvc0_validate_textures()
417 BEGIN_NVC0(push, NVE4_P2MF(DST_ADDRESS_HIGH), 2); in nve4_validate_tsc()
420 BEGIN_NVC0(push, NVE4_P2MF(LINE_LENGTH_IN), 2); in nve4_validate_tsc()
[all …]
Dnvc0_push.c83 BEGIN_NVC0(ctx->push, NVC0_3D(VERTEX_ID), 1); /* broken on nvc0 */ in set_vertexid()
85 BEGIN_NVC0(ctx->push, NVC0_3D(VERTEX_DATA), 1); /* as last attribute */ in set_vertexid()
153 BEGIN_NVC0(ctx->push, NVC0_3D(VERTEX_END_GL), 2); in emit_vertices_i08()
194 BEGIN_NVC0(ctx->push, NVC0_3D(VERTEX_END_GL), 2); in emit_vertices_i16()
235 BEGIN_NVC0(ctx->push, NVC0_3D(VERTEX_END_GL), 2); in emit_vertices_i32()
357 BEGIN_NVC0(ctx.push, NVC0_3D(VERTEX_ATTRIB_FORMAT(a)), 1); in nvc0_push_vbo()
361 BEGIN_NVC0(ctx.push, NVC0_3D(VERTEX_ID_REPLACE), 1); in nvc0_push_vbo()
366 BEGIN_NVC0(ctx.push, NVC0_3D(VERTEX_BEGIN_GL), 1); in nvc0_push_vbo()
397 BEGIN_NVC0(ctx.push, NVC0_3D(VERTEX_ATTRIB_FORMAT(a)), 1); in nvc0_push_vbo()
Dnvc0_query.c164 BEGIN_NVC0(push, NVC0_3D(QUERY_ADDRESS_HIGH), 4); in nvc0_query_get()
212 BEGIN_NVC0(push, NVC0_3D(COUNTER_RESET), 1); in nvc0_query_begin()
418 BEGIN_NVC0(push, SUBC_3D(NV84_SUBCHAN_SEMAPHORE_ADDRESS_HIGH), 4); in nvc0_query_fifo_wait()
476 BEGIN_NVC0(push, NVC0_3D(COND_ADDRESS_HIGH), 3); in nvc0_render_condition()
Dnvc0_winsys.h107 BEGIN_NVC0(struct nouveau_pushbuf *push, int subc, int mthd, unsigned size) in BEGIN_NVC0() function
Dnvc0_program.c713 BEGIN_NVC0(nvc0->base.pushbuf, NVC0_3D(MEM_BARRIER), 1); in nvc0_program_upload_code()