Home
last modified time | relevance | path

Searched refs:viewport_count (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/vulkan/runtime/
Dvk_graphics_state.h156 uint8_t viewport_count; member
547 uint32_t viewport_count; member
Dvk_graphics_state.c355 vp->viewport_count = vp_info->viewportCount; in vk_viewport_state_init()
387 dst->vp.viewport_count = vp->viewport_count; in vk_dynamic_graphics_state_init_vp()
389 typed_memcpy(dst->vp.viewports, vp->viewports, vp->viewport_count); in vk_dynamic_graphics_state_init_vp()
1546 COPY_IF_SET(VP_VIEWPORT_COUNT, vp.viewport_count); in vk_dynamic_graphics_state_copy()
1549 COPY_ARRAY(VP_VIEWPORTS, vp.viewports, src->vp.viewport_count); in vk_dynamic_graphics_state_copy()
1772 SET_DYN_VALUE(dyn, VP_VIEWPORT_COUNT, vp.viewport_count, viewportCount); in vk_common_CmdSetViewportWithCount()
/third_party/mesa3d/src/intel/vulkan/
DgenX_pipeline.c1213 clip.MaximumVPIndex = vp->viewport_count > 0 ? in emit_3dstate_clip()
1214 vp->viewport_count - 1 : 0; in emit_3dstate_clip()
1234 if (vp && vp->viewport_count > 0 && in emit_3dstate_clip()
1236 clip.MaximumVPIndex = vp->viewport_count - 1; in emit_3dstate_clip()
DgenX_cmd_buffer.c3526 clip.MaximumVPIndex = dyn->vp.viewport_count > 0 ? in cmd_buffer_emit_clip()
3527 dyn->vp.viewport_count - 1 : 0; in cmd_buffer_emit_clip()
3532 clip.MaximumVPIndex = dyn->vp.viewport_count > 0 ? in cmd_buffer_emit_clip()
3533 dyn->vp.viewport_count - 1 : 0; in cmd_buffer_emit_clip()
3548 uint32_t count = dyn->vp.viewport_count; in cmd_buffer_emit_viewport()
3651 uint32_t count = dyn->vp.viewport_count; in cmd_buffer_emit_depth_viewport()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_cmd_buffer.c3839 if (ppp_state->viewport_count != state->dynamic.common.viewport.count) { in pvr_setup_viewport()
3840 ppp_state->viewport_count = state->dynamic.common.viewport.count; in pvr_setup_viewport()
3854 for (uint32_t i = 0; i < ppp_state->viewport_count; i++) { in pvr_setup_viewport()
3973 header.view_port_count = (ppp_state->viewport_count == 0) in pvr_emit_ppp_state()
3975 : (ppp_state->viewport_count - 1); in pvr_emit_ppp_state()
4059 const uint32_t viewports = MAX2(1, ppp_state->viewport_count); in pvr_emit_ppp_state()
Dpvr_private.h725 uint32_t viewport_count; member
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_execute.c936 state->num_viewports = ps->vp->viewport_count; in handle_graphics_pipeline()
945 for (uint32_t i = 0; i < ps->vp->viewport_count; i++) { in handle_graphics_pipeline()
2089 static void set_viewport(unsigned first_viewport, unsigned viewport_count, in set_viewport() argument
2096 state->num_viewports = viewport_count; in set_viewport()
2100 for (i = 0; i < viewport_count; i++) { in set_viewport()
2113 cmd->u.set_viewport.viewport_count, in handle_set_viewport()
2122 cmd->u.set_viewport_with_count.viewport_count, in handle_set_viewport_with_count()
/third_party/mesa3d/src/amd/vulkan/
Dradv_private.h1977 uint8_t viewport_count; member
Dradv_pipeline.c1640 info.viewport_count = vp->viewportCount; in radv_pipeline_init_viewport_info()
1977 dynamic->viewport.count = info->vp.viewport_count; in radv_pipeline_init_dynamic_state()
1979 typed_memcpy(dynamic->viewport.viewports, info->vp.viewports, info->vp.viewport_count); in radv_pipeline_init_dynamic_state()