[Mesa-dev] [PATCH] radv: make sure to flush input attachments correctly.

Edward O'Callaghan funfunctor at folklore1984.net
Thu Nov 17 01:32:03 UTC 2016


Reviewed-by: Edward O'Callaghan <funfunctor at folklore1984.net>

On 11/17/2016 10:42 AM, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
> 
> This fixes 9 of the
> dEQP-VK.renderpass.attachment_allocation.input_output.*
> tests.
> 
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>  src/amd/vulkan/radv_cmd_buffer.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c
> index b37323b..4aee49c 100644
> --- a/src/amd/vulkan/radv_cmd_buffer.c
> +++ b/src/amd/vulkan/radv_cmd_buffer.c
> @@ -2391,6 +2391,7 @@ void radv_CmdPipelineBarrier(
>  			break;
>  		case VK_ACCESS_COLOR_ATTACHMENT_READ_BIT:
>  		case VK_ACCESS_TRANSFER_READ_BIT:
> +		case VK_ACCESS_INPUT_ATTACHMENT_READ_BIT:
>  			flush_bits |= RADV_CMD_FLUSH_AND_INV_FRAMEBUFFER | RADV_CMD_FLAG_INV_GLOBAL_L2;
>  		default:
>  			break;
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161117/589b3c6e/attachment.sig>


More information about the mesa-dev mailing list