Home
last modified time | relevance | path

Searched refs:SUBC_3D (Results 1 – 25 of 32) sorted by relevance

12

/third_party/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_local.h177 #define SUBC_3D(mthd) 7, (mthd) macro
178 #define NV04_TTRI(mthd) SUBC_3D(NV04_TEXTURED_TRIANGLE_##mthd)
179 #define NV04_MTRI(mthd) SUBC_3D(NV04_MULTITEX_TRIANGLE_##mthd)
180 #define NV10_3D(mthd) SUBC_3D(NV10_3D_##mthd)
181 #define NV11_3D(mthd) SUBC_3D(NV11_3D_##mthd)
182 #define NV17_3D(mthd) SUBC_3D(NV17_3D_##mthd)
183 #define NV20_3D(mthd) SUBC_3D(NV20_3D_##mthd)
184 #define NV25_3D(mthd) SUBC_3D(NV25_3D_##mthd)
Dnv20_context.c141 BEGIN_NV04(push, SUBC_3D(0x17e0), 3); in nv20_hwctx_init()
150 BEGIN_NV04(push, SUBC_3D(0x1e68), 1); in nv20_hwctx_init()
156 BEGIN_NV04(push, SUBC_3D(0x290), 1); in nv20_hwctx_init()
158 BEGIN_NV04(push, SUBC_3D(0x9fc), 1); in nv20_hwctx_init()
160 BEGIN_NV04(push, SUBC_3D(0x1d80), 1); in nv20_hwctx_init()
162 BEGIN_NV04(push, SUBC_3D(0x9f8), 1); in nv20_hwctx_init()
164 BEGIN_NV04(push, SUBC_3D(0x17ec), 3); in nv20_hwctx_init()
170 BEGIN_NV04(push, SUBC_3D(0x1d88), 1); in nv20_hwctx_init()
182 BEGIN_NV04(push, SUBC_3D(0x1e98), 1); in nv20_hwctx_init()
188 BEGIN_NV04(push, SUBC_3D(0x120), 3); in nv20_hwctx_init()
[all …]
Dnv20_state_tnl.c259 BEGIN_NV04(push, SUBC_3D(LIGHT_MODEL_AMBIENT_R(side)), 3); in nv20_emit_material_ambient()
263 BEGIN_NV04(push, SUBC_3D(MATERIAL_FACTOR_R(side)), 3); in nv20_emit_material_ambient()
276 BEGIN_NV04(push, SUBC_3D(LIGHT_AMBIENT_R(side, i)), 3); in nv20_emit_material_ambient()
289 BEGIN_NV04(push, SUBC_3D(MATERIAL_FACTOR_A(side)), 1); in nv20_emit_material_diffuse()
301 BEGIN_NV04(push, SUBC_3D(LIGHT_DIFFUSE_R(side, i)), 3); in nv20_emit_material_diffuse()
322 BEGIN_NV04(push, SUBC_3D(LIGHT_SPECULAR_R(side, i)), 3); in nv20_emit_material_specular()
339 BEGIN_NV04(push, SUBC_3D(MATERIAL_SHININESS(side)), 6); in nv20_emit_material_shininess()
Dnv10_context.c241 BEGIN_NV04(push, SUBC_3D(0x290), 1); in nv10_hwctx_init()
243 BEGIN_NV04(push, SUBC_3D(0x3f4), 1); in nv10_hwctx_init()
254 BEGIN_NV04(push, SUBC_3D(0xd84), 1); in nv10_hwctx_init()
262 BEGIN_NV04(push, SUBC_3D(0x120), 3); in nv10_hwctx_init()
Dnv10_render.c193 BEGIN_NV04(push, SUBC_3D(m), n)
Dnv20_render.c217 BEGIN_NV04(push, SUBC_3D(m), n)
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_screen.c750 BEGIN_NVC0(push, SUBC_3D(NVC0_GRAPH_MACRO_ID), 2); in nvc0_graph_set_macro()
753 BEGIN_1IC0(push, SUBC_3D(NVC0_GRAPH_MACRO_UPLOAD_POS), size + 1); in nvc0_graph_set_macro()
770 BEGIN_NVC0(push, SUBC_3D(NVC0_GRAPH_MACRO_ID), 2); in tu102_graph_set_macro()
773 BEGIN_1IC0(push, SUBC_3D(NVC0_GRAPH_MACRO_UPLOAD_POS), size + 1); in tu102_graph_set_macro()
783 BEGIN_NVC0(push, SUBC_3D(0x10cc), 1); in nvc0_magic_3d_init()
785 BEGIN_NVC0(push, SUBC_3D(0x10e0), 2); in nvc0_magic_3d_init()
788 BEGIN_NVC0(push, SUBC_3D(0x10ec), 2); in nvc0_magic_3d_init()
792 BEGIN_NVC0(push, SUBC_3D(0x074c), 1); in nvc0_magic_3d_init()
796 BEGIN_NVC0(push, SUBC_3D(0x16a8), 1); in nvc0_magic_3d_init()
798 BEGIN_NVC0(push, SUBC_3D(0x1794), 1); in nvc0_magic_3d_init()
[all …]
Dnvc0_winsys.h49 #define SUBC_3D(m) 0, (m) macro
50 #define NVC0_3D(n) SUBC_3D(NVC0_3D_##n)
51 #define NVE4_3D(n) SUBC_3D(NVE4_3D_##n)
Dnvc0_shader_state.c78 BEGIN_NVC0(push, SUBC_3D(GV100_3D_SP_ADDRESS_HIGH(stage)), 2); in nvc0_program_sp_start_id()
188 BEGIN_NVC0(push, SUBC_3D(0x0360), 2); in nvc0_fragprog_validate()
Dnvc0_vbo.c368 BEGIN_NVC0(push, SUBC_3D(TU102_3D_VERTEX_ARRAY_LIMIT_HIGH(i)), 2); in nvc0_validate_vertex_buffers()
418 BEGIN_NVC0(push, SUBC_3D(TU102_3D_VERTEX_ARRAY_LIMIT_HIGH(b)), 2); in nvc0_validate_vertex_buffers_shared()
824 IMMED_NVC0(push, SUBC_3D(NV10_SUBCHAN_REF_CNT), 0); in nvc0_draw_indirect()
1004 BEGIN_NVC0(push, SUBC_3D(TU102_3D_INDEX_ARRAY_LIMIT_HIGH), 2); in nvc0_draw_vbo()
Dnvc0_state_validate.c41 BEGIN_NVC0(push, SUBC_3D(0x07e0), 2);
44 BEGIN_NVC0(push, SUBC_3D(0x15c8), 1); /* bits 0x3 */
158 BEGIN_NVC0(push, SUBC_3D(0x11e0), 4); in gm200_validate_sample_locations()
Dnvc0_vbo_translate.c236 BEGIN_NVC0(push, SUBC_3D(TU102_3D_VERTEX_ARRAY_LIMIT_HIGH(0)), 2); in nvc0_push_setup_vertex_array()
790 BEGIN_NVC0(push, SUBC_3D(TU102_3D_VERTEX_ARRAY_LIMIT_HIGH(1)), 2); in nvc0_push_upload_vertex_ids()
Dnvc0_surface.c793 IMMED_NVC0(push, SUBC_3D(0x11fc), 1); in gm200_evaluate_depth_buffer()
1266 IMMED_NVC0(push, SUBC_3D(TU102_3D_SET_COLOR_RENDER_TO_ZETA_SURFACE), in nvc0_blit_3d()
1341 BEGIN_NVC0(push, SUBC_3D(TU102_3D_VERTEX_ARRAY_LIMIT_HIGH(0)), 2); in nvc0_blit_3d()
1419 IMMED_NVC0(push, SUBC_3D(TU102_3D_SET_COLOR_RENDER_TO_ZETA_SURFACE), 0); in nvc0_blit_3d()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_screen.c713 BEGIN_NV04(push, SUBC_3D(0x03b0), 1); in nv30_screen_create()
715 BEGIN_NV04(push, SUBC_3D(0x1d80), 1); in nv30_screen_create()
718 BEGIN_NV04(push, SUBC_3D(0x1e98), 1); in nv30_screen_create()
720 BEGIN_NV04(push, SUBC_3D(0x17e0), 3); in nv30_screen_create()
724 BEGIN_NV04(push, SUBC_3D(0x1f80), 16); in nv30_screen_create()
735 BEGIN_NV04(push, SUBC_3D(0x1450), 1); in nv30_screen_create()
738 BEGIN_NV04(push, SUBC_3D(0x1ea4), 3); /* ZCULL */ in nv30_screen_create()
744 BEGIN_NV04(push, SUBC_3D(0x1fc4), 1); in nv30_screen_create()
746 BEGIN_NV04(push, SUBC_3D(0x1fc8), 2); in nv30_screen_create()
749 BEGIN_NV04(push, SUBC_3D(0x1fd0), 1); in nv30_screen_create()
[all …]
Dnv30_query.c173 BEGIN_NV04(push, SUBC_3D(q->enable), 1); in nv30_query_begin()
194 BEGIN_NV04(push, SUBC_3D(q->enable), 1); in nv30_query_end()
254 BEGIN_NV04(push, SUBC_3D(0x1e98), 1); in nv40_query_render_condition()
261 BEGIN_NV04(push, SUBC_3D(0x0110), 1); in nv40_query_render_condition()
265 BEGIN_NV04(push, SUBC_3D(0x1e98), 1); in nv40_query_render_condition()
Dnv30_winsys.h149 #define SUBC_3D(mthd) 7, (mthd) macro
150 #define NV30_3D(mthd) SUBC_3D(NV30_3D_##mthd)
151 #define NV40_3D(mthd) SUBC_3D(NV40_3D_##mthd)
Dnv30_fragprog.c127 BEGIN_NV04(push, SUBC_3D(0x0b40), 1); in nv30_fragprog_validate()
Dnv30_state_validate.c104 BEGIN_NV04(push, SUBC_3D(0x1da4), 1); in nv30_validate_fb()
187 BEGIN_NV04(push, SUBC_3D(0x037c), 1); in nv30_validate_blend_colour()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_winsys.h50 #define SUBC_3D(m) 3, (m) macro
51 #define NV50_3D(n) SUBC_3D(NV50_3D_##n)
52 #define NV84_3D(n) SUBC_3D(NV84_3D_##n)
53 #define NVA0_3D(n) SUBC_3D(NVA0_3D_##n)
Dnv50_stateobj.h13 (so)->state[(so)->size++] = NV50_FIFO_PKHDR(SUBC_3D(m), s)
Dnv50_context.c51 BEGIN_NV04(push, SUBC_3D(NV50_GRAPH_SERIALIZE), 1); in nv50_texture_barrier()
92 BEGIN_NV04(push, SUBC_3D(NV50_GRAPH_SERIALIZE), 1); in nv50_memory_barrier()
124 BEGIN_NI04(push, SUBC_3D(NV04_GRAPH_NOP), data_words); in nv50_emit_string_marker()
Dnv50_query_hw.c460 BEGIN_NV04(push, SUBC_3D(method), 1); in nv50_hw_query_pushbuf_submit()
474 BEGIN_NV04(push, SUBC_3D(NV84_SUBCHAN_SEMAPHORE_ADDRESS_HIGH), 4); in nv84_hw_query_fifo_wait()
Dnv50_query.c131 BEGIN_NV04(push, SUBC_3D(NV50_GRAPH_SERIALIZE), 1); in nv50_render_condition()
Dnv50_state_validate.c444 BEGIN_NV04(push, SUBC_3D(NVA3_3D_SAMPLE_SHADING), 1); in nv50_validate_min_samples()
555 BEGIN_NV04(nv50->base.pushbuf, SUBC_3D(NV50_GRAPH_SERIALIZE), 1); in nv50_state_validate()
Dnv50_shader_state.c251 BEGIN_NV04(push, SUBC_3D(NVA3_3D_FP_MULTISAMPLE), 1); in nv50_fragprog_validate()
687 BEGIN_NV04(push, SUBC_3D(NV50_GRAPH_SERIALIZE), 1); in nv50_stream_output_validate()

12