• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:allow +full:- +full:dirty

6 command buffer.  No such helpers are provided for compute or ray-tracing
11 --------------
15 pointers to sub-structures for each of the different state categories.
46 .. code-block:: c
50 vk_graphics_pipeline_state_fill(&device->vk, &state, pCreateInfo,
55 The :c:struct:`vk_graphics_pipeline_all_state` structure exists to allow
62 .. code-block:: c
65 memset(&pipeline->state, 0, sizeof(pipeline->state));
67 for (uint32_t i = 0; i < lib_info->libraryCount; i++) {
68 VK_FROM_HANDLE(drv_graphics_pipeline_library, lib, lib_info->pLibraries[i]);
69 vk_graphics_pipeline_state_merge(&pipeline->state, &lib->state);
73 result = vk_graphics_pipeline_state_fill(&device->vk, &pipeline->state,
76 &pipeline->state_mem);
86 .. code-block:: c
90 for (uint32_t i = 0; i < lib_info->libraryCount; i++) {
91 VK_FROM_HANDLE(drv_graphics_pipeline_library, lib, lib_info->pLibraries[i]);
92 vk_graphics_pipeline_state_merge(&state, &lib->state);
96 vk_graphics_pipeline_state_fill(&device->vk, &state, pCreateInfo,
107 -------------
148 .. code-block:: c
160 .. code-block:: c
162 memset(&pipeline->dynamic, 0, sizeof(pipeline->dynamic));
163 pipeline->dynamic->vi = &pipeline->vi_state;
164 pipeline->dynamic->ms.sample_locations = &pipeline->sl_state;
165 vk_dynamic_graphics_state_init(&pipeline->dynamic, &state);
169 .. code-block:: c
171 vk_cmd_set_dynamic_graphics_state(&cmd->vk, &pipeline->dynamic_state);
176 .. code-block:: c
181 struct vk_dynamic_graphics_state *dyn = &cmd->vk.dynamic_graphics_state;
186 if (BITSET_TEST(dyn->dirty, MESA_VK_DYNAMIC_VP_VIEWPORTS) |
187 BITSET_TEST(dyn->dirty, MESA_VK_DYNAMIC_VP_VIEWPORT_COUNT)) {
188 /* Re-emit viewports */
191 if (BITSET_TEST(dyn->dirty, MESA_VK_DYNAMIC_VP_SCISSORS) |
192 BITSET_TEST(dyn->dirty, MESA_VK_DYNAMIC_VP_SCISSOR_COUNT)) {
193 /* Re-emit scissors */
203 use a state even if it isn't dirty on this particular draw.
216 --------------------------------
223 ---------