radv: disassemble SPIR-V binaries with RADV_DEBUG=spirv
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 30 Aug 2017 13:12:21 +0000 (15:12 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 1 Sep 2017 07:41:54 +0000 (09:41 +0200)
commitf14020c15fee4dd640a9b1e501208479c74c28b0
treeb5a93d522fef84106f75e99914cc3eeb39ae7389
parentad42e2abb8507dd85f07e5aad539154b0d5c78ea
radv: disassemble SPIR-V binaries with RADV_DEBUG=spirv

This introduces a new separate option because the output can
be quite verbose. If spirv-dis is not found in the path, this
debug option is useless.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_debug.c
src/amd/vulkan/radv_debug.h
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_pipeline.c