/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() 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 …]
|
D | nvc0_screen.c | 614 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 …]
|
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 | 223 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 …]
|
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 | 505 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 …]
|
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() 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()
|
D | nvc0_context.c | 51 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()
|
D | nvc0_query.c | 146 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()
|
D | nvc0_winsys.h | 50 #define NVC0_3D(n) SUBC_3D(NVC0_3D_##n) macro
|
D | nvc0_program.c | 807 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()
|
D | nvc0_transfer.c | 565 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()
|
D | nvc0_compute.c | 327 BEGIN_NVC0(push, NVC0_3D(IMAGE(i)), 6); in nvc0_compute_invalidate_surfaces()
|
D | nvc0_state.c | 1030 IMMED_NVC0(nvc0_context(pipe)->base.pushbuf, NVC0_3D(SERIALIZE), 0); in nvc0_so_target_save_offset()
|