radv: Add a common member in the union to make things more clear.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 9 Jul 2019 09:03:56 +0000 (11:03 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 9 Jul 2019 09:59:07 +0000 (09:59 +0000)
commit14291342ececdd91f25a7d945a4bbb3fa336218a
tree11d85784612c86d1f4239096f58c09b0e752f146
parentf9070743a9273b8601af7955a58b604628dfcc8d
radv: Add a common member in the union to make things more clear.

This clarifies that the struct can be used when the shader can be
one of VS/TES.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_nir_to_llvm.c
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_shader.h
src/amd/vulkan/radv_shader_info.c