Lines Matching refs:subrange
1633 VkImageSubresourceRange subrange = {}; in ClearAllBuffers() local
1635 subrange.baseMipLevel = 0; in ClearAllBuffers()
1637 subrange.levelCount = 1; // VK_REMAINING_MIP_LEVELS; in ClearAllBuffers()
1638 subrange.baseArrayLayer = 0; in ClearAllBuffers()
1640 subrange.layerCount = 1; // VK_REMAINING_ARRAY_LAYERS; in ClearAllBuffers()
1645 subrange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in ClearAllBuffers()
1647 color_obj->SetLayout(this, subrange.aspectMask, clear_layout); in ClearAllBuffers()
1648 ClearColorImage(color_obj->image(), clear_layout, &clear_color, 1, &subrange); in ClearAllBuffers()
1652 subrange.aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT; in ClearAllBuffers()
1653 …if (FormatIsDepthOnly(depth_stencil_obj->format())) subrange.aspectMask = VK_IMAGE_ASPECT_DEPTH_BI… in ClearAllBuffers()
1654 …if (FormatIsStencilOnly(depth_stencil_obj->format())) subrange.aspectMask = VK_IMAGE_ASPECT_STENCI… in ClearAllBuffers()
1657 depth_stencil_obj->SetLayout(this, subrange.aspectMask, clear_layout); in ClearAllBuffers()
1660 … ClearDepthStencilImage(depth_stencil_obj->handle(), clear_layout, &clear_value, 1, &subrange); in ClearAllBuffers()