radv: Possible on-demand compilation fix.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 15 Aug 2018 14:00:02 +0000 (16:00 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 16 Aug 2018 09:13:19 +0000 (11:13 +0200)
commit3308db2dd711607673328e991e8d98c653683d20
tree4e888f4c4144c444965d5fd6f1f66b4f32d24106
parent1560c58b121763a21de7f883724aaa10bf37297c
radv: Possible on-demand compilation fix.

Seems that in a single case we use the renderpass before checking
the pipeline, so check the renderpass before we use it.

Fixes: fbcd1673144 "radv: Add on-demand compilation of built-in shaders."
Tested-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_meta_resolve_fs.c