Home
last modified time | relevance | path

Searched refs:class_3d (Results 1 – 23 of 23) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_screen.c86 nouveau_screen(pscreen)->class_3d != NVEA_3D_CLASS) in nvc0_screen_is_format_supported()
95 nouveau_screen(pscreen)->class_3d < NVE4_3D_CLASS) { in nvc0_screen_is_format_supported()
117 const uint16_t class_3d = nouveau_screen(pscreen)->class_3d; in nvc0_screen_get_param() local
174 if (class_3d < GM107_3D_CLASS) in nvc0_screen_get_param()
194 return class_3d >= GM200_3D_CLASS ? 8 : 0; in nvc0_screen_get_param()
324 return class_3d >= NVE4_3D_CLASS ? 1 : 0; /* needs testing on fermi */ in nvc0_screen_get_param()
327 return class_3d >= NVE4_3D_CLASS; in nvc0_screen_get_param()
329 return class_3d >= NVE4_3D_CLASS; in nvc0_screen_get_param()
331 return class_3d < GM107_3D_CLASS; /* needs additional lowering */ in nvc0_screen_get_param()
343 return class_3d >= GM200_3D_CLASS; in nvc0_screen_get_param()
[all …]
Dnvc0_query_hw_sm.c2237 switch (screen->base.class_3d) { in nvc0_hw_sm_get_queries()
2262 switch (screen->base.class_3d) { in nvc0_hw_sm_get_num_queries()
2381 if (screen->base.class_3d >= GM107_3D_CLASS) { in nve4_hw_sm_begin_query()
2404 if (screen->base.class_3d >= NVE4_3D_CLASS) in nvc0_hw_sm_begin_query()
2477 if (screen->base.class_3d >= GM107_3D_CLASS) { in nvc0_hw_sm_get_program()
2482 if (screen->base.class_3d == NVE4_3D_CLASS || in nvc0_hw_sm_get_program()
2483 screen->base.class_3d == NVF0_3D_CLASS) { in nvc0_hw_sm_get_program()
2484 if (screen->base.class_3d == NVE4_3D_CLASS) { in nvc0_hw_sm_get_program()
2512 if (screen->base.class_3d >= NVE4_3D_CLASS) { in nvc0_hw_sm_upload_input()
2540 const bool is_nve4 = screen->base.class_3d >= NVE4_3D_CLASS; in nvc0_hw_sm_end_query()
[all …]
Dnvc0_query.c213 if (screen->base.class_3d <= GM200_3D_CLASS) { in nvc0_screen_get_driver_query_group_info()
229 if (screen->compute && screen->base.class_3d <= GM200_3D_CLASS) { in nvc0_screen_get_driver_query_group_info()
242 if (screen->compute && screen->base.class_3d <= GM200_3D_CLASS) { in nvc0_screen_get_driver_query_group_info()
Dnvc0_query_hw_metric.c402 switch (screen->base.class_3d) { in nvc0_hw_metric_get_queries()
426 switch (screen->base.class_3d) { in nvc0_hw_metric_get_num_queries()
688 switch (screen->base.class_3d) { in nvc0_hw_metric_get_query_result()
765 if (screen->base.class_3d <= GM200_3D_CLASS) { in nvc0_hw_metric_get_driver_query_info()
Dnvc0_context.c217 if (nvc0->screen->base.class_3d >= GM107_3D_CLASS) in nvc0_context_unreference_resources()
455 pipe->launch_grid = (nvc0->screen->base.class_3d >= NVE4_3D_CLASS) ? in nvc0_create()
473 if (nvc0->screen->base.class_3d >= NVE4_3D_CLASS) in nvc0_create()
549 if (screen->base.class_3d < NVE4_3D_CLASS) { in nvc0_create()
Dnvc0_state_validate.c188 if (nvc0->screen->base.class_3d >= GM200_3D_CLASS) in validate_sample_locations()
394 uint16_t class_3d = nvc0->screen->base.class_3d; in nvc0_validate_viewport() local
436 if (class_3d >= GM200_3D_CLASS) { in nvc0_validate_viewport()
625 if (nvc0->screen->base.class_3d < NVE4_3D_CLASS) { in nvc0_constbufs_validate()
851 if (screen->base.class_3d >= NVE4_3D_CLASS) { in nvc0_validate_fbread()
Dnvc0_state.c216 uint16_t class_3d = nouveau_screen(pipe->screen)->class_3d; in nvc0_rasterizer_state_create() local
267 if (class_3d >= GM200_3D_CLASS) { in nvc0_rasterizer_state_create()
329 if (class_3d >= GM200_3D_CLASS) { in nvc0_rasterizer_state_create()
336 state |= (post_snap || class_3d < GP100_3D_CLASS) ? 1 << 10 : 0; in nvc0_rasterizer_state_create()
1267 if (nvc0->screen->base.class_3d >= GM107_3D_CLASS) { in nvc0_bind_images_range()
1288 if (nvc0->screen->base.class_3d >= GM107_3D_CLASS) { in nvc0_bind_images_range()
Dnvc0_program.c791 if (screen->base.class_3d >= NVE4_3D_CLASS) in nvc0_program_alloc_code()
801 if (screen->base.class_3d >= NVE4_3D_CLASS && in nvc0_program_alloc_code()
802 screen->base.class_3d < TU102_3D_CLASS) { in nvc0_program_alloc_code()
814 if (screen->base.class_3d >= NVE4_3D_CLASS) { in nvc0_program_alloc_code()
Dnvc0_tex.c604 if (nvc0->screen->base.class_3d >= NVE4_3D_CLASS) in nvc0_validate_textures()
726 if (nvc0->screen->base.class_3d >= NVE4_3D_CLASS) in nvc0_validate_samplers()
765 if (nvc0->screen->base.class_3d < NVE4_3D_CLASS) in nve4_set_tex_handles()
1326 if (nvc0->screen->base.class_3d >= GM107_3D_CLASS) in nve4_update_surface_bindings()
1339 if (nvc0->screen->base.class_3d >= NVE4_3D_CLASS) { in nvc0_validate_surfaces()
1517 if (nvc0_context(pipe)->screen->base.class_3d < GM107_3D_CLASS) { in nvc0_init_bindless_functions()
Dnvc0_transfer.c615 if (nvc0->screen->base.class_3d >= NVE4_3D_CLASS) { in nvc0_init_transfer_functions()
Dnvc0_surface.c486 if (nvc0->screen->base.class_3d < NVE4_3D_CLASS) in nvc0_clear_buffer_push()
1779 if (nvc0->screen->base.class_3d >= GM200_3D_CLASS) in nvc0_init_surface_functions()
Dnvc0_vbo.c1042 if (nvc0->screen->base.class_3d < NVE4_3D_CLASS && in nvc0_draw_vbo()
Dnve4_compute.c318 if (nvc0->screen->base.class_3d >= GM107_3D_CLASS) in nve4_compute_validate_surfaces()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_query.c199 if (screen->base.class_3d >= NV84_3D_CLASS) in nv50_screen_get_driver_query_group_info()
207 if (screen->base.class_3d >= NV84_3D_CLASS) { in nv50_screen_get_driver_query_group_info()
222 if (screen->base.class_3d >= NV84_3D_CLASS) { in nv50_screen_get_driver_query_group_info()
Dnv50_screen.c108 const uint16_t class_3d = screen->class_3d; in nv50_screen_get_param() local
135 return class_3d >= NVA3_3D_CLASS ? 310 : 300; in nv50_screen_get_param()
179 return (class_3d >= NVA3_3D_CLASS) ? 4 : 0; in nv50_screen_get_param()
279 return class_3d >= NVC0_3D_CLASS || !screen->prefer_nir; in nv50_screen_get_param()
287 return class_3d >= NVA0_3D_CLASS; in nv50_screen_get_param()
294 return class_3d >= NVA3_3D_CLASS; in nv50_screen_get_param()
923 if (screen->base.class_3d >= NV84_3D_CLASS) { in nv50_screen_init_hwctx()
1127 screen->base.class_3d = tesla_class; in nv50_screen_create()
Dnv50_query_hw_metric.c191 if (screen->base.class_3d >= NV84_3D_CLASS) in nv50_hw_metric_get_driver_query_info()
199 if (screen->base.class_3d >= NV84_3D_CLASS) { in nv50_hw_metric_get_driver_query_info()
Dnv50_tex.c65 const uint32_t class_3d = nouveau_context(pipe)->screen->class_3d; in nv50_create_texture_view() local
203 if (class_3d > NV50_3D_CLASS) in nv50_create_texture_view()
210 if (class_3d > NV50_3D_CLASS) in nv50_create_texture_view()
Dnv50_query_hw_sm.c412 if (screen->base.class_3d >= NV84_3D_CLASS) in nv50_hw_sm_get_driver_query_info()
420 if (screen->base.class_3d >= NV84_3D_CLASS) { in nv50_hw_sm_get_driver_query_info()
Dnv50_vbo.c477 if (nv50->screen->base.class_3d >= NV84_3D_CLASS) { in nv50_draw_arrays()
604 if (nv50->screen->base.class_3d >= NV84_3D_CLASS) { in nv50_draw_elements()
714 if (unlikely(nv50->screen->base.class_3d < NVA0_3D_CLASS)) { in nva0_draw_stream_output()
844 if (nv50->screen->base.class_3d >= NVA0_3D_CLASS && in nv50_draw_vbo()
860 if (nv50->screen->base.class_3d < NVA0_3D_CLASS && in nv50_draw_vbo()
Dnv50_shader_state.c676 if (nv50->screen->base.class_3d < NVA0_3D_CLASS) { in nv50_stream_output_validate()
686 if (nv50->screen->base.class_3d < NVA0_3D_CLASS) { in nv50_stream_output_validate()
692 if (nv50->screen->base.class_3d >= NVA0_3D_CLASS) in nv50_stream_output_validate()
702 const unsigned n = nv50->screen->base.class_3d >= NVA0_3D_CLASS ? 4 : 3; in nv50_stream_output_validate()
Dnv50_state.c530 if (nouveau_screen(pipe->screen)->class_3d >= NVE4_3D_CLASS) { in nv50_sampler_state_create()
539 if (nouveau_screen(pipe->screen)->class_3d >= GM200_3D_CLASS) { in nv50_sampler_state_create()
1143 if (nouveau_context(pipe)->screen->class_3d >= NVA0_3D_CLASS) { in nv50_so_target_create()
1206 const bool can_resume = nv50->screen->base.class_3d >= NVA0_3D_CLASS; in nv50_set_stream_output_targets()
Dnv50_push.c254 ctx.need_vertex_id = nv50->screen->base.class_3d >= NV84_3D_CLASS && in nv50_push_vbo()
/third_party/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_screen.h45 uint16_t class_3d; member