/external/mesa3d/src/gallium/drivers/nvc0/ |
D | nvc0_shader_state.c | 48 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() 116 IMMED_NVC0(push, NVC0_3D(FORCE_EARLY_FRAGMENT_TESTS), fp->fp.early_z); in nvc0_fragprog_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() 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 …]
|
D | nvc0_screen.c | 377 BEGIN_NVC0(push, NVC0_3D(QUERY_ADDRESS_HIGH), 4); in nvc0_screen_fence_emit() 531 BEGIN_NVC0(push, NVC0_3D(COND_MODE), 1); in nvc0_screen_create() 536 BEGIN_NVC0(push, NVC0_3D(WATCHDOG_TIMER), 1); in nvc0_screen_create() 540 BEGIN_NVC0(push, NVC0_3D(RT_CONTROL), 1); in nvc0_screen_create() 543 BEGIN_NVC0(push, NVC0_3D(CSAA_ENABLE), 1); in nvc0_screen_create() 545 BEGIN_NVC0(push, NVC0_3D(MULTISAMPLE_ENABLE), 1); in nvc0_screen_create() 547 BEGIN_NVC0(push, NVC0_3D(MULTISAMPLE_MODE), 1); in nvc0_screen_create() 549 BEGIN_NVC0(push, NVC0_3D(MULTISAMPLE_CTRL), 1); in nvc0_screen_create() 551 BEGIN_NVC0(push, NVC0_3D(LINE_WIDTH_SEPARATE), 1); in nvc0_screen_create() 553 BEGIN_NVC0(push, NVC0_3D(LINE_LAST_PIXEL), 1); in nvc0_screen_create() [all …]
|
D | nvc0_vbo.c | 180 BEGIN_NVC0(push, NVC0_3D(VTX_ATTR_DEFINE), 5); in nvc0_set_constant_vertex_attrib() 258 BEGIN_1IC0(push, NVC0_3D(MACRO_VERTEX_ARRAY_SELECT), 5); in nvc0_update_user_vbufs() 290 BEGIN_1IC0(push, NVC0_3D(MACRO_VERTEX_ARRAY_SELECT), 5); in nvc0_update_user_vbufs_shared() 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() [all …]
|
D | nvc0_state_validate.c | 29 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() 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() 77 BEGIN_NVC0(push, NVC0_3D(RT_ADDRESS_HIGH(i)), 9); in nvc0_validate_fb() 128 BEGIN_NVC0(push, NVC0_3D(ZETA_ADDRESS_HIGH), 5); in nvc0_validate_fb() [all …]
|
D | nvc0_vbo_translate.c | 190 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() 236 IMMED_NVC0(push, NVC0_3D(VB_ELEMENT_U32), pos); in disp_vertices_i08() 238 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1); in disp_vertices_i08() 243 IMMED_NVC0(push, NVC0_3D(EDGEFLAG), ef_toggle(ctx)); 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() 292 IMMED_NVC0(push, NVC0_3D(VB_ELEMENT_U32), pos); in disp_vertices_i16() 294 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1); in disp_vertices_i16() [all …]
|
D | nvc0_surface.c | 287 BEGIN_NVC0(push, NVC0_3D(CLEAR_COLOR(0)), 4); in nvc0_clear_render_target() 293 BEGIN_NVC0(push, NVC0_3D(SCREEN_SCISSOR_HORIZ), 2); in nvc0_clear_render_target() 297 BEGIN_NVC0(push, NVC0_3D(RT_CONTROL), 1); in nvc0_clear_render_target() 299 BEGIN_NVC0(push, NVC0_3D(RT_ADDRESS_HIGH(0)), 9); in nvc0_clear_render_target() 327 IMMED_NVC0(push, NVC0_3D(ZETA_ENABLE), 0); in nvc0_clear_render_target() 334 BEGIN_NVC0(push, NVC0_3D(CLEAR_BUFFERS), 1); in nvc0_clear_render_target() 360 BEGIN_NVC0(push, NVC0_3D(CLEAR_DEPTH), 1); in nvc0_clear_depth_stencil() 366 BEGIN_NVC0(push, NVC0_3D(CLEAR_STENCIL), 1); in nvc0_clear_depth_stencil() 371 BEGIN_NVC0(push, NVC0_3D(SCREEN_SCISSOR_HORIZ), 2); in nvc0_clear_depth_stencil() 375 BEGIN_NVC0(push, NVC0_3D(ZETA_ADDRESS_HIGH), 5); in nvc0_clear_depth_stencil() [all …]
|
D | nvc0_push.c | 75 IMMED_NVC0(ctx->push, NVC0_3D(EDGEFLAG), f ? 1 : 0); in set_edgeflag() 83 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() 138 BEGIN_NIC0(ctx->push, NVC0_3D(VERTEX_DATA), size); in emit_vertices_i08() 153 BEGIN_NVC0(ctx->push, NVC0_3D(VERTEX_END_GL), 2); in emit_vertices_i08() 179 BEGIN_NIC0(ctx->push, NVC0_3D(VERTEX_DATA), size); in emit_vertices_i16() 194 BEGIN_NVC0(ctx->push, NVC0_3D(VERTEX_END_GL), 2); in emit_vertices_i16() 220 BEGIN_NIC0(ctx->push, NVC0_3D(VERTEX_DATA), size); in emit_vertices_i32() 235 BEGIN_NVC0(ctx->push, NVC0_3D(VERTEX_END_GL), 2); in emit_vertices_i32() 253 BEGIN_NIC0(ctx->push, NVC0_3D(VERTEX_DATA), size); in emit_vertices_seq() [all …]
|
D | nvc0_query.c | 164 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() 214 IMMED_NVC0(push, NVC0_3D(SAMPLECNT_ENABLE), 1); in nvc0_query_begin() 273 IMMED_NVC0(push, NVC0_3D(SAMPLECNT_ENABLE), 0); in nvc0_query_end() 441 IMMED_NVC0(push, NVC0_3D(COND_MODE), NVC0_3D_COND_MODE_ALWAYS); in nvc0_render_condition() 476 BEGIN_NVC0(push, NVC0_3D(COND_ADDRESS_HIGH), 3); in nvc0_render_condition() 505 IMMED_NVC0(nvc0_context(pipe)->base.pushbuf, NVC0_3D(SERIALIZE), 0); in nvc0_so_target_save_offset()
|
D | nvc0_tex.c | 249 BEGIN_NVC0(push, NVC0_3D(TEX_CACHE_CTL), 1); in nvc0_validate_tic() 269 BEGIN_NIC0(push, NVC0_3D(BIND_TIC(s)), n); in nvc0_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() 390 BEGIN_NIC0(push, NVC0_3D(BIND_TSC(s)), n); in nvc0_validate_tsc() 457 BEGIN_NVC0(nvc0->base.pushbuf, NVC0_3D(TSC_FLUSH), 1); in nvc0_validate_samplers() 481 BEGIN_NVC0(push, NVC0_3D(CB_SIZE), 3); in nve4_set_tex_handles() 489 BEGIN_NVC0(push, NVC0_3D(CB_POS), 2); in nve4_set_tex_handles()
|
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_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()
|
D | nvc0_winsys.h | 50 #define NVC0_3D(n) SUBC_3D(NVC0_3D_##n) macro
|
D | nvc0_transfer.c | 479 BEGIN_NVC0(push, NVC0_3D(CB_SIZE), 3); in nvc0_cb_push() 489 BEGIN_1IC0(push, NVC0_3D(CB_POS), nr + 1); in nvc0_cb_push()
|
D | nvc0_program.c | 713 BEGIN_NVC0(nvc0->base.pushbuf, NVC0_3D(MEM_BARRIER), 1); in nvc0_program_upload_code()
|