diff options
author | Vadym Shovkoplias <[email protected]> | 2018-10-09 19:09:10 +0300 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2018-10-16 08:15:21 +0300 |
commit | ad558408ff1ea5ad0743e68b9487472d7b020034 (patch) | |
tree | 20414fe1252b44c1ae650b2d755a71dc7b786940 /src/amd/vulkan/radv_private.h | |
parent | d2ea3d4a76770e6c605490a991a4136469da6d35 (diff) |
glsl: Check the subroutine associated functions names
Adding compile time check for subroutine functions with
the same names. Similar check for intrastage linking was already
landed in commit 5f0567a4f60.
From Section 6.1.2 (Subroutines) of the GLSL 4.00 specification
"A program will fail to compile or link if any shader
or stage contains two or more functions with the same
name if the name is associated with a subroutine type."
Fixes:
* no-overloads.vert
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108109
Signed-off-by: Vadym Shovkoplias <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
0 files changed, 0 insertions, 0 deletions