mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 08:27:05 +00:00
OpenGL: Fix rendered textures being flipped.
This was because the clip space of OpenGL has an inverted Y compared to other APIs. This commit: - Updates SPIRV-Cross to the latest version - Uses the new vertex.flip_vert_y option in ShaderModuleGL - Enables tests that are now passing in GL.
This commit is contained in:
committed by
Corentin Wallez
parent
f280e87f36
commit
ff57ccbcf1
@@ -439,7 +439,7 @@ TEST_P(InputStateTest, MixedEverything) {
|
||||
DoTestDraw(pipeline, 1, 1, {{0, &buffer0}, {1, &buffer1}});
|
||||
}
|
||||
|
||||
NXT_INSTANTIATE_TEST(InputStateTest, D3D12Backend, MetalBackend)
|
||||
NXT_INSTANTIATE_TEST(InputStateTest, D3D12Backend, MetalBackend, OpenGLBackend)
|
||||
|
||||
// TODO for the input state:
|
||||
// - Add more vertex formats
|
||||
|
||||
@@ -308,4 +308,4 @@ TEST_P(PrimitiveTopologyTest, TriangleStrip) {
|
||||
});
|
||||
}
|
||||
|
||||
NXT_INSTANTIATE_TEST(PrimitiveTopologyTest, D3D12Backend, MetalBackend)
|
||||
NXT_INSTANTIATE_TEST(PrimitiveTopologyTest, D3D12Backend, MetalBackend, OpenGLBackend)
|
||||
|
||||
Reference in New Issue
Block a user