diff options
author | Ferenc Arn <tagcup@yahoo.com> | 2017-10-30 20:48:33 -0400 |
---|---|---|
committer | Ferenc Arn <tagcup@yahoo.com> | 2017-10-30 20:48:33 -0400 |
commit | 6e68c86ba6638011dbddc6b77cc5e48da7a83fee (patch) | |
tree | 9a5efceaf7953e39ad04c0e9c93071c1150f2d85 /drivers/gles3 | |
parent | f021b0038940ecc03aa43721f03b3b3f283e00ed (diff) |
Add viewport to the other SceneData struct.
This was missed in #12288.
Diffstat (limited to 'drivers/gles3')
-rw-r--r-- | drivers/gles3/shaders/scene.glsl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gles3/shaders/scene.glsl b/drivers/gles3/shaders/scene.glsl index 41966fd565..9880663143 100644 --- a/drivers/gles3/shaders/scene.glsl +++ b/drivers/gles3/shaders/scene.glsl @@ -665,6 +665,7 @@ layout(std140) uniform SceneData { highp float shadow_dual_paraboloid_render_zfar; highp float shadow_dual_paraboloid_render_side; + highp vec2 viewport_size; highp vec2 screen_pixel_size; highp vec2 shadow_atlas_pixel_size; highp vec2 directional_shadow_pixel_size; |