diff options
author | Vadym Shovkoplias <[email protected]> | 2018-10-03 11:39:04 +0300 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2018-10-04 17:41:19 +0200 |
commit | 5f0567a4f60c6671d4e2a942ab3f3248dbbd6997 (patch) | |
tree | cdd38d87df840f51a6046b2e7b8cdfe13064f2c7 /src/compiler/nir/nir.h | |
parent | ed53a79cf81b13e9c16517c70713a926d49a5fe6 (diff) |
glsl/linker: Check the subroutine associated functions names
>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."
v2:
- error out earlier (Tapani)
- style fixes (Iago)
Fixes:
* no-overloads.vert
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108109
Signed-off-by: Vadym Shovkoplias <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
0 files changed, 0 insertions, 0 deletions