mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
libs/vkd3d: Use negative viewport height to flip along y-axis.
Requires VK_KHR_maintenance1.
This commit is contained in:
@@ -35,6 +35,4 @@ void main()
|
||||
|
||||
colour_out.xyz = diffuse_in.xyz * att;
|
||||
colour_out.w = 1.0;
|
||||
|
||||
gl_Position.y = -gl_Position.y;
|
||||
}
|
||||
|
@@ -8,7 +8,6 @@ layout(location = 0) out vec4 colour_out;
|
||||
|
||||
void main(void)
|
||||
{
|
||||
gl_Position.xzw = position_in.xzw;
|
||||
gl_Position.y = -position_in.y;
|
||||
gl_Position = position_in;
|
||||
colour_out = colour_in;
|
||||
}
|
||||
|
Reference in New Issue
Block a user