summaryrefslogtreecommitdiffstats
path: root/src/mapi/u_execmem.h
diff options
context:
space:
mode:
authorKalyan Kondapally <[email protected]>2014-09-08 11:10:42 +0300
committerTapani Pälli <[email protected]>2014-09-09 10:39:39 +0300
commit78c9201a5b57ed635b7161fd638cf6814e103e1b (patch)
treea778199a667f4177e61fa7ebba574713a36912b3 /src/mapi/u_execmem.h
parent2a49a940799fdf538dbf86cb04a8335f7d5a829e (diff)
Linking fails when not writing gl_Position.
According to GLSL-ES Spec(i.e. 1.0, 3.0), gl_Position value is undefined after the vertex processing stage if we don't write gl_Position. However, GLSL 1.10 Spec mentions that writing to gl_Position is mandatory. In case of GLSL-ES, it's not an error and atleast the linking should pass. Currently, Mesa throws an linker error in case we dont write to gl_position and Version is less then 140(GLSL) and 300(GLSL-ES). This patch changes it so that we don't report an error in case of GLSL-ES. Signed-off-by: Kalyan Kondapally <[email protected]> Reviewed-by: Tapani Pälli <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83380
Diffstat (limited to 'src/mapi/u_execmem.h')
0 files changed, 0 insertions, 0 deletions