Fixed shader compilation errors.

This commit is contained in:
hiker 2014-06-11 09:11:07 +10:00
parent e959d6c857
commit 89d8a19dab
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ uniform mat4 ViewMatrix;
uniform mat4 ProjectionMatrix; uniform mat4 ProjectionMatrix;
uniform mat4 InverseViewMatrix; uniform mat4 InverseViewMatrix;
uniform mat4 InverseProjectionMatrix; uniform mat4 InverseProjectionMatrix;
uniform vec2 screen;
#else #else
layout (std140) uniform MatrixesData layout (std140) uniform MatrixesData
{ {

View File

@ -13,6 +13,7 @@ uniform mat4 ViewMatrix;
uniform mat4 ProjectionMatrix; uniform mat4 ProjectionMatrix;
uniform mat4 InverseViewMatrix; uniform mat4 InverseViewMatrix;
uniform mat4 InverseProjectionMatrix; uniform mat4 InverseProjectionMatrix;
uniform vec2 screen;
#else #else
layout (std140) uniform MatrixesData layout (std140) uniform MatrixesData
{ {