Lines Matching refs:subrange
1807 VkImageSubresourceRange subrange = {}; in ClearAllBuffers() local
1809 subrange.baseMipLevel = 0; in ClearAllBuffers()
1811 subrange.levelCount = 1; // VK_REMAINING_MIP_LEVELS; in ClearAllBuffers()
1812 subrange.baseArrayLayer = 0; in ClearAllBuffers()
1814 subrange.layerCount = 1; // VK_REMAINING_ARRAY_LAYERS; in ClearAllBuffers()
1819 subrange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in ClearAllBuffers()
1821 color_obj->SetLayout(this, subrange.aspectMask, clear_layout); in ClearAllBuffers()
1822 ClearColorImage(color_obj->image(), clear_layout, &clear_color, 1, &subrange); in ClearAllBuffers()
1826 subrange.aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT; in ClearAllBuffers()
1827 …if (FormatIsDepthOnly(depth_stencil_obj->format())) subrange.aspectMask = VK_IMAGE_ASPECT_DEPTH_BI… in ClearAllBuffers()
1828 …if (FormatIsStencilOnly(depth_stencil_obj->format())) subrange.aspectMask = VK_IMAGE_ASPECT_STENCI… in ClearAllBuffers()
1831 depth_stencil_obj->SetLayout(this, subrange.aspectMask, clear_layout); in ClearAllBuffers()
1834 … ClearDepthStencilImage(depth_stencil_obj->handle(), clear_layout, &clear_value, 1, &subrange); in ClearAllBuffers()