radv,aco: disable opts if VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 28 Aug 2020 06:41:20 +0000 (08:41 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 4 Sep 2020 06:59:45 +0000 (06:59 +0000)
commitebf2576862ca29b1173e3b7fee0cc03acbb4d7ef
treeb3a96835ad8a31f1b9d127aa2c7259e817592c8a
parentbb80ed88737ce51023fe073f2401b8574d4d2496
radv,aco: disable opts if VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT

Sounds useful to determine if ACO breaks a specific pipeline
because of various optimizations.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6487>
src/amd/compiler/aco_interface.cpp
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_shader.c
src/amd/vulkan/radv_shader.h