glsl: Match order of gl_LightSourceParameters elements.
authorFabian Bieler <fabianbieler@fastmail.fm>
Thu, 23 Nov 2017 20:48:00 +0000 (13:48 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 4 Dec 2017 04:14:14 +0000 (21:14 -0700)
commit9bdb5457f4ecabd59e05d0b6cea1ff88bcb49d7f
treec382a10135bf4a8d3a42d9b9031e002770bf8810
parentc3ee464d7aa170225b5ec23b53a7f8d07663d428
glsl: Match order of gl_LightSourceParameters elements.

spotExponent and spotCosCutoff were swapped in the
gl_builtin_uniform_element struct.
Now the order matches across gl_builtin_uniform_element,
glsl_struct_field and the spec.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/compiler/glsl/builtin_variables.cpp