summaryrefslogtreecommitdiffstats
path: root/src/glsl/list.h
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2015-10-07 09:21:36 +0200
committerIago Toral Quiroga <[email protected]>2015-10-12 08:31:08 +0200
commitf09c229cc6db838ae595fb57f5e6386a035bdf42 (patch)
tree78f5762aed22c101984f03ae4e96e01d150c7fbd /src/glsl/list.h
parent8281a7c5333d9b78aabf9ce3e9cc7077ccca9413 (diff)
glsl: shader outputs cannot have initializers
GLSL Spec 4.20.8, 4.3 Storage Qualifiers: "Initializers in global declarations may only be used in declarations of global variables with no storage qualifier, with a const qualifier or with a uniform qualifier." We do this for input variables, but not for output variables. AMD and NVIDIA proprietary drivers don't allow this either. Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glsl/list.h')
0 files changed, 0 insertions, 0 deletions