diff options
| author | Chia-I Wu <olv@lunarg.com> | 2015-04-22 14:20:52 +0800 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-04-30 17:09:48 -0600 |
| commit | bb67e6e202def47488aae09d9f75745a762ed497 (patch) | |
| tree | 0cc6a4bcff73106e100fcbcaeb328b62e91970dc /demos/cube.vert | |
| parent | ae3b55d494ba4b5da191ec63587d70e675218e77 (diff) | |
| download | usermoji-bb67e6e202def47488aae09d9f75745a762ed497.tar.xz | |
intel: support only VK_DEPTH_MODE_ZERO_TO_ONE
Fail pipeline creation when VK_DEPTH_MODE_NEGATIVE_ONE_TO_ONE is specified.
Update viewport transformation for depth range [0, 1].
Demos are updated too.
Diffstat (limited to 'demos/cube.vert')
| -rw-r--r-- | demos/cube.vert | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/cube.vert b/demos/cube.vert index 672bcced..091ff51b 100644 --- a/demos/cube.vert +++ b/demos/cube.vert @@ -18,4 +18,5 @@ void main() // GL->VK conventions gl_Position.y = -gl_Position.y; + gl_Position.z = (gl_Position.z + gl_Position.w) / 2.0; } |
