radv: don't flush the VS when srcStageMask == TOP_OF_PIPE_BIT
authorFredrik Höglund <fredrik@kde.org>
Thu, 19 Oct 2017 18:54:50 +0000 (20:54 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 20 Oct 2017 09:37:51 +0000 (11:37 +0200)
commite2053b8e3d45af48f35973ddb55993353b597753
tree234acbae0bb441e1386fd2627560fc8541d68ff7
parent565c22158fce0960fde6ad8d794f8e1091b90292
radv: don't flush the VS when srcStageMask == TOP_OF_PIPE_BIT

The Vulkan specification says:

   "... an execution dependency with only VK_PIPELINE_STAGE_TOP_OF_-
    PIPE_BIT in the source stage mask will effectively not wait for
    any prior commands to complete."

Signed-off-by: Fredrik Höglund <fredrik@kde.org>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_cmd_buffer.c