Fixed shader compilation errors.
This commit is contained in:
parent
e959d6c857
commit
89d8a19dab
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user