Home
last modified time | relevance | path

Searched refs:NVC0_3D (Results 1 – 16 of 16) sorted by relevance

/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_shader_state.c77 BEGIN_NVC0(push, NVC0_3D(SP_SELECT(1)), 2); in nvc0_vertprog_validate()
80 BEGIN_NVC0(push, NVC0_3D(SP_GPR_ALLOC(1)), 1); in nvc0_vertprog_validate()
132 BEGIN_NVC0(push, NVC0_3D(SHADE_MODEL), 1); in nvc0_fragprog_validate()
147 IMMED_NVC0(push, NVC0_3D(FORCE_EARLY_FRAGMENT_TESTS), fp->fp.early_z); in nvc0_fragprog_validate()
150 BEGIN_NVC0(push, NVC0_3D(SP_SELECT(5)), 2); in nvc0_fragprog_validate()
153 BEGIN_NVC0(push, NVC0_3D(SP_GPR_ALLOC(5)), 1); in nvc0_fragprog_validate()
159 BEGIN_NVC0(push, NVC0_3D(ZCULL_TEST_MASK), 1); in nvc0_fragprog_validate()
171 BEGIN_NVC0(push, NVC0_3D(TESS_MODE), 1); in nvc0_tctlprog_validate()
174 BEGIN_NVC0(push, NVC0_3D(SP_SELECT(2)), 2); in nvc0_tctlprog_validate()
177 BEGIN_NVC0(push, NVC0_3D(SP_GPR_ALLOC(2)), 1); in nvc0_tctlprog_validate()
[all …]
Dnvc0_screen.c614 BEGIN_NVC0(push, NVC0_3D(VERTEX_ID_GEN_MODE), 1); in nvc0_magic_3d_init()
652 PUSH_DATA (push, NVC0_FIFO_PKHDR_SQ(NVC0_3D(QUERY_ADDRESS_HIGH), 4)); in nvc0_screen_fence_emit()
741 BEGIN_NVC0(push, NVC0_3D(CODE_ADDRESS_HIGH), 2); in nvc0_screen_resize_text_area()
950 BEGIN_NVC0(push, NVC0_3D(COND_MODE), 1); in nvc0_screen_create()
955 BEGIN_NVC0(push, NVC0_3D(WATCHDOG_TIMER), 1); in nvc0_screen_create()
959 IMMED_NVC0(push, NVC0_3D(ZETA_COMP_ENABLE), in nvc0_screen_create()
961 BEGIN_NVC0(push, NVC0_3D(RT_COMP_ENABLE(0)), 8); in nvc0_screen_create()
965 BEGIN_NVC0(push, NVC0_3D(RT_CONTROL), 1); in nvc0_screen_create()
968 BEGIN_NVC0(push, NVC0_3D(CSAA_ENABLE), 1); in nvc0_screen_create()
970 BEGIN_NVC0(push, NVC0_3D(MULTISAMPLE_ENABLE), 1); in nvc0_screen_create()
[all …]
Dnvc0_vbo.c185 BEGIN_NVC0(push, NVC0_3D(VTX_ATTR_DEFINE), 5); in nvc0_set_constant_vertex_attrib()
265 BEGIN_1IC0(push, NVC0_3D(MACRO_VERTEX_ARRAY_SELECT), 5); in nvc0_update_user_vbufs()
297 BEGIN_1IC0(push, NVC0_3D(MACRO_VERTEX_ARRAY_SELECT), 5); in nvc0_update_user_vbufs_shared()
340 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_DIVISOR(i)), 1); in nvc0_validate_vertex_buffers()
343 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_FETCH(i)), 1); in nvc0_validate_vertex_buffers()
354 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_FETCH(i)), 4); in nvc0_validate_vertex_buffers()
360 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_FETCH(i)), 3); in nvc0_validate_vertex_buffers()
365 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_LIMIT_HIGH(i)), 2); in nvc0_validate_vertex_buffers()
393 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_FETCH(b)), 1); in nvc0_validate_vertex_buffers_shared()
400 IMMED_NVC0(push, NVC0_3D(VERTEX_ARRAY_FETCH(b)), 0); in nvc0_validate_vertex_buffers_shared()
[all …]
Dnvc0_state_validate.c32 BEGIN_NVC0(push, NVC0_3D(ZCULL_REGION), 1);
34 BEGIN_NVC0(push, NVC0_3D(ZCULL_ADDRESS_HIGH), 2);
38 BEGIN_NVC0(push, NVC0_3D(ZCULL_LIMIT_HIGH), 2);
46 BEGIN_NVC0(push, NVC0_3D(ZCULL_WIDTH), 4);
51 BEGIN_NVC0(push, NVC0_3D(ZCULL_WINDOW_OFFSET_X), 2);
54 BEGIN_NVC0(push, NVC0_3D(ZCULL_INVALIDATE), 1);
62 BEGIN_NVC0(push, NVC0_3D(RT_ADDRESS_HIGH(i)), 9); in nvc0_fb_set_null_rt()
87 BEGIN_NVC0(push, NVC0_3D(SCREEN_SCISSOR_HORIZ), 2); in nvc0_validate_fb()
105 BEGIN_NVC0(push, NVC0_3D(RT_ADDRESS_HIGH(i)), 9); in nvc0_validate_fb()
156 BEGIN_NVC0(push, NVC0_3D(ZETA_ADDRESS_HIGH), 5); in nvc0_validate_fb()
[all …]
Dnvc0_vbo_translate.c223 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_START_HIGH(0)), 2); in nvc0_push_setup_vertex_array()
226 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_LIMIT_HIGH(0)), 2); in nvc0_push_setup_vertex_array()
264 BEGIN_NVC0(push, NVC0_3D(VERTEX_BUFFER_FIRST), 2); in disp_vertices_i08()
270 IMMED_NVC0(push, NVC0_3D(VB_ELEMENT_U32), pos); in disp_vertices_i08()
272 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1); in disp_vertices_i08()
277 IMMED_NVC0(push, NVC0_3D(EDGEFLAG), ef_toggle(ctx)); in disp_vertices_i08()
284 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1); in disp_vertices_i08()
321 BEGIN_NVC0(push, NVC0_3D(VERTEX_BUFFER_FIRST), 2); in disp_vertices_i16()
327 IMMED_NVC0(push, NVC0_3D(VB_ELEMENT_U32), pos); in disp_vertices_i16()
329 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1); in disp_vertices_i16()
[all …]
Dnvc0_surface.c299 BEGIN_NVC0(push, NVC0_3D(CLEAR_COLOR(0)), 4); in nvc0_clear_render_target()
305 BEGIN_NVC0(push, NVC0_3D(SCREEN_SCISSOR_HORIZ), 2); in nvc0_clear_render_target()
309 BEGIN_NVC0(push, NVC0_3D(RT_CONTROL), 1); in nvc0_clear_render_target()
311 BEGIN_NVC0(push, NVC0_3D(RT_ADDRESS_HIGH(0)), 9); in nvc0_clear_render_target()
325 IMMED_NVC0(push, NVC0_3D(MULTISAMPLE_MODE), mt->ms_mode); in nvc0_clear_render_target()
340 IMMED_NVC0(push, NVC0_3D(ZETA_ENABLE), 0); in nvc0_clear_render_target()
341 IMMED_NVC0(push, NVC0_3D(MULTISAMPLE_MODE), 0); in nvc0_clear_render_target()
348 IMMED_NVC0(push, NVC0_3D(COND_MODE), NVC0_3D_COND_MODE_ALWAYS); in nvc0_clear_render_target()
350 BEGIN_NIC0(push, NVC0_3D(CLEAR_BUFFERS), sf->depth); in nvc0_clear_render_target()
357 IMMED_NVC0(push, NVC0_3D(COND_MODE), nvc0->cond_condmode); in nvc0_clear_render_target()
[all …]
Dnvc0_tex.c505 BEGIN_NVC0(push, NVC0_3D(TEX_CACHE_CTL), 1); in nvc0_validate_tic()
532 BEGIN_NIC0(push, NVC0_3D(BIND_TIC(s)), n); in nvc0_validate_tic()
568 BEGIN_NVC0(push, NVC0_3D(TEX_CACHE_CTL), 1); in nve4_validate_tic()
604 BEGIN_NVC0(nvc0->base.pushbuf, NVC0_3D(TIC_FLUSH), 1); in nvc0_validate_textures()
655 BEGIN_NIC0(push, NVC0_3D(BIND_TSC(s)), n); in nvc0_validate_tsc()
713 BEGIN_NVC0(nvc0->base.pushbuf, NVC0_3D(TSC_FLUSH), 1); in nvc0_validate_samplers()
740 BEGIN_NVC0(push, NVC0_3D(CB_SIZE), 3); in nve4_set_tex_handles()
748 BEGIN_NVC0(push, NVC0_3D(CB_POS), 2); in nve4_set_tex_handles()
1001 BEGIN_NVC0(push, NVC0_3D(IMAGE(i)), 6); in nvc0_validate_suf()
1073 BEGIN_NVC0(push, NVC0_3D(CB_SIZE), 3); in nvc0_validate_suf()
[all …]
Dnvc0_stateobj.h8 (so)->state[(so)->size++] = NVC0_FIFO_PKHDR_SQ(NVC0_3D(m), s)
11 (so)->state[(so)->size++] = NVC0_FIFO_PKHDR_IL(NVC0_3D(m), d)
Dnvc0_query_hw.c83 BEGIN_NVC0(push, NVC0_3D(QUERY_ADDRESS_HIGH), 4); in nvc0_hw_query_get()
165 BEGIN_NVC0(push, NVC0_3D(COUNTER_RESET), 1); in nvc0_hw_begin_query()
167 IMMED_NVC0(push, NVC0_3D(SAMPLECNT_ENABLE), 1); in nvc0_hw_begin_query()
230 IMMED_NVC0(push, NVC0_3D(SAMPLECNT_ENABLE), 0); in nvc0_hw_end_query()
409 BEGIN_NVC0(push, NVC0_3D(QUERY_ADDRESS_HIGH), 2); in nvc0_hw_get_query_result_resource()
412 BEGIN_1IC0(push, NVC0_3D(MACRO_QUERY_BUFFER_WRITE), 7); in nvc0_hw_get_query_result_resource()
Dnvc0_context.c51 IMMED_NVC0(push, NVC0_3D(SERIALIZE), 0); in nvc0_texture_barrier()
52 IMMED_NVC0(push, NVC0_3D(TEX_CACHE_CTL), 0); in nvc0_texture_barrier()
98 IMMED_NVC0(push, NVC0_3D(SERIALIZE), 0); in nvc0_memory_barrier()
105 IMMED_NVC0(push, NVC0_3D(TEX_CACHE_CTL), 0); in nvc0_memory_barrier()
Dnvc0_query.c146 IMMED_NVC0(push, NVC0_3D(COND_MODE), cond); in nvc0_render_condition()
157 BEGIN_NVC0(push, NVC0_3D(COND_ADDRESS_HIGH), 3); in nvc0_render_condition()
Dnvc0_winsys.h50 #define NVC0_3D(n) SUBC_3D(NVC0_3D_##n) macro
Dnvc0_program.c807 IMMED_NVC0(nvc0->base.pushbuf, NVC0_3D(SERIALIZE), 0); in nvc0_program_upload()
854 BEGIN_NVC0(nvc0->base.pushbuf, NVC0_3D(SP_START_ID(i)), 1); in nvc0_program_upload()
867 BEGIN_NVC0(nvc0->base.pushbuf, NVC0_3D(MEM_BARRIER), 1); in nvc0_program_upload()
Dnvc0_transfer.c565 BEGIN_NVC0(push, NVC0_3D(CB_SIZE), 3); in nvc0_cb_bo_push()
575 BEGIN_1IC0(push, NVC0_3D(CB_POS), nr + 1); in nvc0_cb_bo_push()
Dnvc0_compute.c327 BEGIN_NVC0(push, NVC0_3D(IMAGE(i)), 6); in nvc0_compute_invalidate_surfaces()
Dnvc0_state.c1030 IMMED_NVC0(nvc0_context(pipe)->base.pushbuf, NVC0_3D(SERIALIZE), 0); in nvc0_so_target_save_offset()