Lines Matching refs:subrange
1387 VkImageSubresourceRange subrange = {};
1389 subrange.baseMipLevel = 0;
1391 subrange.levelCount = 1; // VK_REMAINING_MIP_LEVELS;
1392 subrange.baseArrayLayer = 0;
1394 subrange.layerCount = 1; // VK_REMAINING_ARRAY_LAYERS;
1399 subrange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT;
1401 color_obj->SetLayout(this, subrange.aspectMask, clear_layout);
1402 ClearColorImage(color_obj->image(), clear_layout, &clear_color, 1, &subrange);
1406 subrange.aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT;
1407 if (FormatIsDepthOnly(depth_stencil_obj->format())) subrange.aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT;
1408 if (FormatIsStencilOnly(depth_stencil_obj->format())) subrange.aspectMask = VK_IMAGE_ASPECT_STENCIL_BIT;
1411 depth_stencil_obj->SetLayout(this, subrange.aspectMask, clear_layout);
1414 ClearDepthStencilImage(depth_stencil_obj->handle(), clear_layout, &clear_value, 1, &subrange);