Re: [Mesa-dev] [PATCH] radv/gfx9: add 3d sampler image->buffer copy shader. (v2)

2017-12-20 Thread Dave Airlie
On 21 December 2017 at 03:46, Alex Smith wrote: > Looks like blit2d needs this fix as well - been debugging an issue that's > turned out to be due to a corrupted copy of a 3D texture with CmdCopyImage. > I can do that tomorrow. I already wrote that as well, https://github.com/airlied/mesa/tree/r

Re: [Mesa-dev] [PATCH] radv/gfx9: add 3d sampler image->buffer copy shader. (v2)

2017-12-20 Thread Alex Smith
Looks like blit2d needs this fix as well - been debugging an issue that's turned out to be due to a corrupted copy of a 3D texture with CmdCopyImage. I can do that tomorrow. However, I did notice that with KHR_maintenance1, it seems like creating 2D views of 3D textures (and binding them to 2D sam

Re: [Mesa-dev] [PATCH] radv/gfx9: add 3d sampler image->buffer copy shader. (v2)

2017-12-20 Thread Alex Smith
Tested-by: Alex Smith Fixes 3D texture contents being captured incorrectly in RenderDoc for me. On 19 December 2017 at 07:36, Dave Airlie wrote: > From: Dave Airlie > > On GFX9 we must access 3D textures with 3D samplers AFAICS. > > This fixes: > dEQP-VK.api.image_clearing.core.clear_color_im

[Mesa-dev] [PATCH] radv/gfx9: add 3d sampler image->buffer copy shader. (v2)

2017-12-18 Thread Dave Airlie
From: Dave Airlie On GFX9 we must access 3D textures with 3D samplers AFAICS. This fixes: dEQP-VK.api.image_clearing.core.clear_color_image.3d.single_layer on GFX9 for me. v2: fixes a bunch of other tests as well. v1.1: fix tex->sampler_dim to dim v2: send layer in from outside Fixes: e38685

[Mesa-dev] [PATCH] radv/gfx9: add 3d sampler image->buffer copy shader.

2017-12-18 Thread Dave Airlie
From: Dave Airlie On GFX9 we must access 3D textures with 3D samplers AFAICS. This fixes: dEQP-VK.api.image_clearing.core.clear_color_image.3d.single_layer on GFX9 for me. Fixes: e38685cc62e 'Revert "radv: disable support for VEGA for now."' Signed-off-by: Dave Airlie --- src/amd/vulkan/radv