radv: Add a common member in the union to make things more clear

Graphics / Mesa 3D Graphics Library / Mesa - Bas Nieuwenhuizen [basnieuwenhuizen.nl] - 9 July 2019 09:59 EDT

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

14291342ece radv: Add a common member in the union to make things more clear.
src/amd/vulkan/radv_nir_to_llvm.c | 76 +++++++++++++++++++--------------------
src/amd/vulkan/radv_pipeline.c | 22 ++++++------
src/amd/vulkan/radv_shader.h | 3 ++
src/amd/vulkan/radv_shader_info.c | 2 +-
4 files changed, 53 insertions(+), 50 deletions(-)

Upstream: cgit.freedesktop.org


  • Share