Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/nvc0/
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()
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 …]
Dnvc0_screen.c377 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 …]
Dnvc0_vbo.c180 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 …]
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()
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 …]
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()
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 …]
Dnvc0_surface.c287 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 …]
Dnvc0_push.c75 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 …]
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()
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()
Dnvc0_tex.c249 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()
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_context.c52 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()
Dnvc0_winsys.h50 #define NVC0_3D(n) SUBC_3D(NVC0_3D_##n) macro
Dnvc0_transfer.c479 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()
Dnvc0_program.c713 BEGIN_NVC0(nvc0->base.pushbuf, NVC0_3D(MEM_BARRIER), 1); in nvc0_program_upload_code()