Summary: |
[RADV] texelFetch not working when multiple texel buffer inputs are bound |
Product: |
Mesa
|
Reporter: |
kd-11 <kd-117> |
Component: |
Drivers/Vulkan/radeon | Assignee: |
mesa-dev |
Status: |
RESOLVED
FIXED
|
QA Contact: |
mesa-dev |
Severity: |
normal
|
|
|
Priority: |
medium
|
|
|
Version: |
git | |
|
Hardware: |
x86-64 (AMD64) | |
|
OS: |
Linux (All) | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
Renderdoc trace of affected frame
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 144613 [details] Renderdoc trace of affected frame I've encountered a curious situation using RADV regarding texel buffer access in vertex shaders. I have 3 buffers mapped to texel buffer inputs and I cannot properly access both at the same time. Curiously, if one buffer object is viewed in more than one buffer view, everything is ok. If I comment out all access to one of the loads in renderdoc the fetches seem to work fine as long as the other is not referenced in the shader. I have attached a renderdoc trace showing this behaviour. The renderdoc eventID of interest is no 97 which is supposed to render a cube. This issue has been confirmed by at least one other RADV user with an RX570. Changing the driver to amdvlk makes the issue go away. Hopefully I merley overlooked something but khronos' validation layer gives no errors or warnings. Application: RPCS3 emulator Mesa version: Mesa 19.2.0-devel (git-21dd881 2019-06-20 bionic-oibaf-ppa) RADV version: 'AMD RADV POLARIS10 (LLVM 8.0.0)' running on driver 19.1.99