diff options
author | Anuj Phogat <[email protected]> | 2013-12-19 14:17:19 -0800 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2014-02-18 11:07:09 -0800 |
commit | 03597cf802a7a89c4853794e6206ab8ab003898d (patch) | |
tree | 21b530f02b5356bfab11c9c356b8831dd8dd2e7e /src/egl/wayland/wayland-egl | |
parent | 6bd2472a8b9a969d06dc110bd30ccd8daf713959 (diff) |
glsl: Fix condition to generate shader link error
GL_ARB_ES2_compatibility doesn't say anything about shader linking
when one of the shaders (vertex or fragment shader) is absent. So,
the extension shouldn't change the behavior specified in GLSL
specification.
Tested the behavior on proprietary linux drivers of NVIDIA and AMD.
Both of them allow linking a version 100 shader program in OpenGL
context, when one of the shaders is absent.
Makes following Khronos CTS tests to pass:
successfulcompilevert_linkprogram.test
successfulcompilefrag_linkprogram.test
Cc: [email protected]
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/egl/wayland/wayland-egl')
0 files changed, 0 insertions, 0 deletions