diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-06-24 06:25:33 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-06-24 06:25:33 +0300 |
commit | 07f34ee84394f16383c4b9fd4d636c9ad9a88ed3 (patch) | |
tree | b38501690c4893d32c388e3bb4c5bf566e6fc4bb /source/blender/draw | |
parent | 28ff238c45a211a5b4d81f968860e71701080e2a (diff) |
Eevee: Fix linking error.
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/engines/eevee/shaders/lightprobe_geom.glsl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee/shaders/lightprobe_geom.glsl b/source/blender/draw/engines/eevee/shaders/lightprobe_geom.glsl index c7250e1212e..ee5983d523a 100644 --- a/source/blender/draw/engines/eevee/shaders/lightprobe_geom.glsl +++ b/source/blender/draw/engines/eevee/shaders/lightprobe_geom.glsl @@ -8,7 +8,8 @@ in vec4 vPos[]; flat in int face[]; out vec3 worldPosition; -out vec3 worldNormal; /* Required. otherwise generate linking error on AMD. */ +out vec3 viewPosition; /* Required. otherwise generate linking error. */ +out vec3 worldNormal; /* Required. otherwise generate linking error. */ const vec3 maj_axes[6] = vec3[6](vec3(1.0, 0.0, 0.0), vec3(-1.0, 0.0, 0.0), vec3(0.0, 1.0, 0.0), vec3(0.0, -1.0, 0.0), vec3( 0.0, 0.0, 1.0), vec3( 0.0, 0.0, -1.0)); const vec3 x_axis[6] = vec3[6](vec3(0.0, 0.0, -1.0), vec3( 0.0, 0.0, 1.0), vec3(1.0, 0.0, 0.0), vec3(1.0, 0.0, 0.0), vec3( 1.0, 0.0, 0.0), vec3(-1.0, 0.0, 0.0)); |