[Bug 105994] surface state leak when creating and destroying image views with aspectMask depth and stencil
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Apr 11 22:48:23 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=105994
Bug ID: 105994
Summary: surface state leak when creating and destroying image
views with aspectMask depth and stencil
Product: Mesa
Version: 17.3
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Vulkan/intel
Assignee: intel-3d-bugs at lists.freedesktop.org
Reporter: cstout at chromium.org
QA Contact: intel-3d-bugs at lists.freedesktop.org
CC: jason at jlekstrand.net
--------------------------------------------
On mesa 17.3, function anv_CreateImageView:
iview->n_planes = anv_image_aspect_get_planes(iview->aspect_mask);
iview->aspect_mask is 0x6, n_planes is 1
anv_foreach_image_aspect_bit(iaspect_bit, image, expanded_aspects) {
expanded_aspects is 0x6, the loop runs *twice*
iview->planes[vplane].optimal_sampler_surface_state.state =
alloc_surface_state(device);
iview->planes[vplane].general_sampler_surface_state.state =
alloc_surface_state(device);
Allocated surface state for vplane 0 and 1
----------------------------------
In function anv_DestroyImageView:
for (uint32_t plane = 0; plane < iview->n_planes; plane++) {
Loop runs only once.
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20180411/ba864498/attachment.html>
More information about the intel-3d-bugs
mailing list