[Mesa-dev] [Bug 106595] [RADV] Rendering distortions only when MSAA is enabled

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 19 05:20:06 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106595

--- Comment #18 from Trevor Davenport <trevor.davenport at gmail.com> ---


This may not be a mesa bug.  For me, as soon as I enable MSAA i get asserts in
mesa (in a debug build) or get lots of validation layers errors when they are
enabled.

The error have to do with the aspectMask unexpectedly being zero for a
sub-resources.  I've included output from mesa with asserts and the validation
layers.  

Without asserts enabled it continues but might be doing something weird.  If
you turn off msaa the validation error stop so that probably needs fixed first
to see if there is a remaining MSAA issue or not.

I've got AMD RADV PITCAIRN (LLVM 6.0.0) hardware so not much different.


Mesa assert:
   World of Warcraft\Wow-64.exe: ../src/amd/vulkan/radv_meta_resolve.c:466:
radv_CmdResolveImage: Assertion `region->srcSubresource.aspectMask ==
VK_IMAGE_ASPECT_COLOR_BIT' failed.

Validation layer output(just a sample...it continually spews):
   Validation(ERROR): msg_code: 174066691: Object: VK_NULL_HANDLE (Type = 0) |
vkCmdResolveImage: value of pRegions[0].srcSubresource.aspectMask must not be
0. The spec valid usage text states 'aspectMask must not be 0'
(https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#VUID-VkImageSubresourceLayers-aspectMask-requiredbitmask)
   (null)(ERROR / SPEC): msgNum: 174066691 - vkCmdResolveImage: value of
pRegions[0].dstSubresource.aspectMask must not be 0. The spec valid usage text
states 'aspectMask must not be 0'
(https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#VUID-VkImageSubresourceLayers-aspectMask-requiredbitmask)
       Objects: 1
          [0] 0x0, type: 0, name: (null)
   Validation(ERROR): msg_code: 174066691: Object: VK_NULL_HANDLE (Type = 0) |
vkCmdResolveImage: value of pRegions[0].dstSubresource.aspectMask must not be
0. The spec valid usage text states 'aspectMask must not be 0'
(https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#VUID-VkImageSubresourceLayers-aspectMask-requiredbitmask)
   (null)(ERROR / SPEC): msgNum: 169869844 - vkCmdResolveImage: src and dest
aspectMasks for each region must specify only VK_IMAGE_ASPECT_COLOR_BIT. The
spec valid usage text states 'The aspectMask member of srcSubresource and
dstSubresource must only contain VK_IMAGE_ASPECT_COLOR_BIT'
(https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#VUID-VkImageResolve-aspectMask-00266)
       Objects: 1
          [0] 0x7d539550, type: 6, name: (null)
   Validation(ERROR): msg_code: 169869844: Object: 0x7d539550 (Type = 6) |
vkCmdResolveImage: src and dest aspectMasks for each region must specify only
VK_IMAGE_ASPECT_COLOR_BIT. The spec valid usage text states 'The aspectMask
member of srcSubresource and dstSubresource must only contain
VK_IMAGE_ASPECT_COLOR_BIT'
(https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#VUID-VkImageResolve-aspectMask-00266)
   (null)(ERROR / SPEC): msgNum: 15 - Shader requires extension
VK_KHR_shader_draw_parameters but is not enabled on the device
       Objects: 1
          [0] 0x0, type: 0, name: (null)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180619/b45ce6ac/attachment.html>


More information about the mesa-dev mailing list