/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_shader_state.c | 77 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() 151 IMMED_NVC0(push, NVC0_3D(POST_DEPTH_COVERAGE), in nvc0_fragprog_validate() 155 BEGIN_NVC0(push, NVC0_3D(SP_SELECT(5)), 2); in nvc0_fragprog_validate() 158 BEGIN_NVC0(push, NVC0_3D(SP_GPR_ALLOC(5)), 1); in nvc0_fragprog_validate() 164 BEGIN_NVC0(push, NVC0_3D(ZCULL_TEST_MASK), 1); in nvc0_fragprog_validate() 176 BEGIN_NVC0(push, NVC0_3D(TESS_MODE), 1); in nvc0_tctlprog_validate() 179 BEGIN_NVC0(push, NVC0_3D(SP_SELECT(2)), 2); in nvc0_tctlprog_validate() [all …]
|
D | nvc0_screen.c | 644 BEGIN_NVC0(push, NVC0_3D(VERTEX_ID_GEN_MODE), 1); in nvc0_magic_3d_init() 682 PUSH_DATA (push, NVC0_FIFO_PKHDR_SQ(NVC0_3D(QUERY_ADDRESS_HIGH), 4)); in nvc0_screen_fence_emit() 783 BEGIN_NVC0(push, NVC0_3D(CODE_ADDRESS_HIGH), 2); in nvc0_screen_resize_text_area() 1000 BEGIN_NVC0(push, NVC0_3D(COND_MODE), 1); in nvc0_screen_create() 1005 BEGIN_NVC0(push, NVC0_3D(WATCHDOG_TIMER), 1); in nvc0_screen_create() 1009 IMMED_NVC0(push, NVC0_3D(ZETA_COMP_ENABLE), in nvc0_screen_create() 1011 BEGIN_NVC0(push, NVC0_3D(RT_COMP_ENABLE(0)), 8); in nvc0_screen_create() 1015 BEGIN_NVC0(push, NVC0_3D(RT_CONTROL), 1); in nvc0_screen_create() 1018 BEGIN_NVC0(push, NVC0_3D(CSAA_ENABLE), 1); in nvc0_screen_create() 1020 BEGIN_NVC0(push, NVC0_3D(MULTISAMPLE_ENABLE), 1); in nvc0_screen_create() [all …]
|
D | nvc0_vbo.c | 185 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 …]
|
D | nvc0_state_validate.c | 32 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 …]
|
D | nvc0_vbo_translate.c | 224 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_START_HIGH(0)), 2); in nvc0_push_setup_vertex_array() 227 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_LIMIT_HIGH(0)), 2); in nvc0_push_setup_vertex_array() 265 BEGIN_NVC0(push, NVC0_3D(VERTEX_BUFFER_FIRST), 2); in disp_vertices_i08() 271 IMMED_NVC0(push, NVC0_3D(VB_ELEMENT_U32), pos); in disp_vertices_i08() 273 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1); in disp_vertices_i08() 278 IMMED_NVC0(push, NVC0_3D(EDGEFLAG), ef_toggle(ctx)); in disp_vertices_i08() 285 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1); in disp_vertices_i08() 322 BEGIN_NVC0(push, NVC0_3D(VERTEX_BUFFER_FIRST), 2); in disp_vertices_i16() 328 IMMED_NVC0(push, NVC0_3D(VB_ELEMENT_U32), pos); in disp_vertices_i16() 330 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1); in disp_vertices_i16() [all …]
|
D | nvc0_surface.c | 299 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 …]
|
D | nvc0_tex.c | 514 BEGIN_NVC0(push, NVC0_3D(TEX_CACHE_CTL), 1); in nvc0_validate_tic() 541 BEGIN_NIC0(push, NVC0_3D(BIND_TIC(s)), n); in nvc0_validate_tic() 577 BEGIN_NVC0(push, NVC0_3D(TEX_CACHE_CTL), 1); in nve4_validate_tic() 613 BEGIN_NVC0(nvc0->base.pushbuf, NVC0_3D(TIC_FLUSH), 1); in nvc0_validate_textures() 664 BEGIN_NIC0(push, NVC0_3D(BIND_TSC(s)), n); in nvc0_validate_tsc() 722 BEGIN_NVC0(nvc0->base.pushbuf, NVC0_3D(TSC_FLUSH), 1); in nvc0_validate_samplers() 749 BEGIN_NVC0(push, NVC0_3D(CB_SIZE), 3); in nve4_set_tex_handles() 757 BEGIN_NVC0(push, NVC0_3D(CB_POS), 2); in nve4_set_tex_handles() 795 IMMED_NVC0(push, NVC0_3D(TIC_FLUSH), 0); in nve4_create_texture_handle() 803 IMMED_NVC0(push, NVC0_3D(TSC_FLUSH), 0); in nve4_create_texture_handle() [all …]
|
D | nvc0_stateobj.h | 8 (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)
|
D | nvc0_query_hw.c | 83 BEGIN_NVC0(push, NVC0_3D(QUERY_ADDRESS_HIGH), 4); in nvc0_hw_query_get() 166 BEGIN_NVC0(push, NVC0_3D(COUNTER_RESET), 1); in nvc0_hw_begin_query() 168 IMMED_NVC0(push, NVC0_3D(SAMPLECNT_ENABLE), 1); in nvc0_hw_begin_query() 232 IMMED_NVC0(push, NVC0_3D(SAMPLECNT_ENABLE), 0); in nvc0_hw_end_query() 413 BEGIN_1IC0(push, NVC0_3D(MACRO_QUERY_BUFFER_WRITE), 9); in nvc0_hw_get_query_result_resource()
|
D | nvc0_context.c | 52 IMMED_NVC0(push, NVC0_3D(SERIALIZE), 0); in nvc0_texture_barrier() 53 IMMED_NVC0(push, NVC0_3D(TEX_CACHE_CTL), 0); in nvc0_texture_barrier() 95 IMMED_NVC0(push, NVC0_3D(SERIALIZE), 0); in nvc0_memory_barrier() 102 IMMED_NVC0(push, NVC0_3D(TEX_CACHE_CTL), 0); in nvc0_memory_barrier()
|
D | nvc0_query.c | 147 IMMED_NVC0(push, NVC0_3D(COND_MODE), cond); in nvc0_render_condition() 158 BEGIN_NVC0(push, NVC0_3D(COND_ADDRESS_HIGH), 3); in nvc0_render_condition()
|
D | nvc0_winsys.h | 50 #define NVC0_3D(n) SUBC_3D(NVC0_3D_##n) macro
|
D | nvc0_program.c | 813 IMMED_NVC0(nvc0->base.pushbuf, NVC0_3D(SERIALIZE), 0); in nvc0_program_upload() 860 BEGIN_NVC0(nvc0->base.pushbuf, NVC0_3D(SP_START_ID(i)), 1); in nvc0_program_upload() 873 BEGIN_NVC0(nvc0->base.pushbuf, NVC0_3D(MEM_BARRIER), 1); in nvc0_program_upload()
|
D | nvc0_transfer.c | 589 BEGIN_NVC0(push, NVC0_3D(CB_SIZE), 3); in nvc0_cb_bo_push() 599 BEGIN_1IC0(push, NVC0_3D(CB_POS), nr + 1); in nvc0_cb_bo_push()
|
D | nvc0_compute.c | 327 BEGIN_NVC0(push, NVC0_3D(IMAGE(i)), 6); in nvc0_compute_invalidate_surfaces()
|
D | nvc0_state.c | 1013 IMMED_NVC0(nvc0_context(pipe)->base.pushbuf, NVC0_3D(SERIALIZE), 0); in nvc0_so_target_save_offset()
|